summaryrefslogtreecommitdiffstats
path: root/control/zone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'control/zone.cpp')
-rw-r--r--control/zone.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/control/zone.cpp b/control/zone.cpp
index 325a5b8..8e665f0 100644
--- a/control/zone.cpp
+++ b/control/zone.cpp
@@ -1,5 +1,6 @@
/**
* Copyright © 2017 IBM Corporation
+ * Copyright © 2017-2018 Raptor Engineering, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -103,6 +104,14 @@ void Zone::setFullSpeed()
}
}
+void Zone::disableRotors()
+{
+ for (auto& fan : _fans)
+ {
+ fan->disableRotor();
+ }
+}
+
void Zone::setActiveAllow(const Group* group, bool isActiveAllow)
{
_active[*(group)] = isActiveAllow;
OpenPOWER on IntegriCloud