timer: Remove in favor of sdeventplus/timer
This change removes the ad-hoc timer implementation and uses the common
one that comes with sdeventplus.
Tested: Compiled
Change-Id: Id3b7e464a472a7421785601634af58f681ebd3a6
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/power-sequencer/runtime_monitor.cpp b/power-sequencer/runtime_monitor.cpp
index 9bfeaf0..514ba8f 100644
--- a/power-sequencer/runtime_monitor.cpp
+++ b/power-sequencer/runtime_monitor.cpp
@@ -43,7 +43,7 @@
try
{
- timer.stop();
+ timer.setEnabled(false);
#ifdef UCD90160_DEVICE_ACCESS
device->onFailure();