sensors/zones: place in namespace and cleanup
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I527dbc8477a232945f696227a7b0b2adbee45175
diff --git a/pid/pidloop.hpp b/pid/pidloop.hpp
index 3a67954..cf4b7ce 100644
--- a/pid/pidloop.hpp
+++ b/pid/pidloop.hpp
@@ -4,6 +4,9 @@
#include <boost/asio/steady_timer.hpp>
+namespace pid_control
+{
+
/**
* Main pid control loop for a given zone.
* This function calls itself indefinitely in an async loop to calculate
@@ -16,3 +19,5 @@
*/
void pidControlLoop(PIDZone* zone, boost::asio::steady_timer& timer,
bool first = true, int ms100cnt = 0);
+
+} // namespace pid_control