summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-31 12:52:38 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-31 12:52:38 (GMT)
commit99321f0cd3181d4cd6a00f69cd9b554c63c52849 (patch)
treef645f4b83f5dabe2992b7456d7a485e62b3e9f46 /src/main.cpp
parent834dd497323420e3ef77de69123249b8863dba04 (diff)
Add back stopwatch and timer
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 062e64c..4695354 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -103,6 +103,7 @@ Pinetime::Drivers::Watchdog watchdog;
Pinetime::Drivers::WatchdogView watchdogView(watchdog);
Pinetime::Controllers::NotificationManager notificationManager;
Pinetime::Controllers::MotionController motionController;
+Pinetime::Controllers::TimerController timerController;
Pinetime::Controllers::AlarmController alarmController {dateTimeController};
Pinetime::Controllers::TouchHandler touchHandler(touchPanel, lvgl);
Pinetime::Controllers::ButtonHandler buttonHandler;
@@ -119,6 +120,7 @@ Pinetime::Applications::DisplayApp displayApp(lcd,
settingsController,
motorController,
motionController,
+ timerController,
alarmController,
brightnessController,
touchHandler);
@@ -132,6 +134,7 @@ Pinetime::System::SystemTask systemTask(spi,
batteryController,
bleController,
dateTimeController,
+ timerController,
alarmController,
watchdog,
notificationManager,