Add timer type for set speed event timers
This is the first step towards allowing timer driven and/or wrapped
actions where the timer interval and type will be defined by the user.
Change-Id: If008fda5a2b73117e869f93223e0bfe61290f858
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/zone.cpp b/control/zone.cpp
index b9a7583..b698c12 100644
--- a/control/zone.cpp
+++ b/control/zone.cpp
@@ -271,7 +271,7 @@
if (!timer->running())
{
timer->start(std::get<intervalPos>(eventTimer),
- util::Timer::TimerType::repeating);
+ std::get<typePos>(eventTimer));
}
_timerEvents.emplace_back(std::move(timer));
}