summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-31 12:40:41 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-31 12:40:41 (GMT)
commit0bc8592ec7911cba8890aa144139c74f7172cbaa (patch)
treea3b232e5aa9dce70b3fd9739f560f0806510d7bf /src/main.cpp
parent04dd0c5fe0c696c815b0df1243c1003cd4464dbb (diff)
add back alarm
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 8022595..062e64c 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::AlarmController alarmController {dateTimeController};
Pinetime::Controllers::TouchHandler touchHandler(touchPanel, lvgl);
Pinetime::Controllers::ButtonHandler buttonHandler;
Pinetime::Controllers::BrightnessController brightnessController {};
@@ -118,6 +119,7 @@ Pinetime::Applications::DisplayApp displayApp(lcd,
settingsController,
motorController,
motionController,
+ alarmController,
brightnessController,
touchHandler);
@@ -130,6 +132,7 @@ Pinetime::System::SystemTask systemTask(spi,
batteryController,
bleController,
dateTimeController,
+ alarmController,
watchdog,
notificationManager,
motorController,