diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-16 22:18:31 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-16 23:38:29 (GMT) |
| commit | 3e5fddede322814c2fea7634c1bf0d5f93bae315 (patch) | |
| tree | 17cf617a024a079c3baa98c590d16d58636236d8 /src/systemtask | |
| parent | ef830123ba6144ed253b4cf9fa8ec18c1b19c99a (diff) | |
Make Init methods more uniform among timer and alarm controllers
Diffstat (limited to 'src/systemtask')
| -rw-r--r-- | src/systemtask/SystemTask.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp index 1fdb597..5a0a99d 100644 --- a/src/systemtask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -157,8 +157,7 @@ void SystemTask::Work() { batteryController.Register(this); motorController.Init(); motionSensor.SoftReset(); - timerController.Register(this); - timerController.Init(); + timerController.Init(this); alarmController.Init(this); // Reset the TWI device because the motion sensor chip most probably crashed it... |
