summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.cpp
diff options
context:
space:
mode:
authorMark Russell <mruss660@gmail.com>2021-09-13 19:26:28 (GMT)
committerMark Russell <mruss660@gmail.com>2021-09-13 19:26:28 (GMT)
commitbfe13d9d6849cf37f2d5a011990af85a1b503672 (patch)
treea194ddb08c3adbdca31e0ed3604dee739f2a9daa /src/systemtask/SystemTask.cpp
parent1fb5757655c1cdf0e93f03ad27869e8c043d69f0 (diff)
Fixes based on code reviews (formatting, UI code)
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
-rw-r--r--src/systemtask/SystemTask.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index 98685c3..9ec2059 100644
--- a/src/systemtask/SystemTask.cpp
+++ b/src/systemtask/SystemTask.cpp
@@ -134,8 +134,7 @@ void SystemTask::Work() {
motionSensor.SoftReset();
timerController.Register(this);
timerController.Init();
- alarmController.Register(this);
- alarmController.Init();
+ alarmController.Init(this);
// Reset the TWI device because the motion sensor chip most probably crashed it...
twiMaster.Sleep();