diff options
| author | Jean-François Milants <jf@codingfield.com> | 2022-02-13 11:23:05 +0100 |
|---|---|---|
| committer | Jean-François Milants <jf@codingfield.com> | 2022-02-13 11:23:05 +0100 |
| commit | 87d882b151acc7ef60fdb1a957649faf39e737c1 (patch) | |
| tree | 7d7586810c062d8fac37f16f208f6da77757a3ba /src/main.cpp | |
| parent | d967efa19710f85cee846c59adbbe07d2a2189dc (diff) | |
| parent | 947ece0bc9ad90dd4c1fcd5875594a4a48eddd56 (diff) | |
Merge branch 'statusBarTimeFormat' of https://github.com/mruss77/InfiniTime into mruss77-statusBarTimeFormat
# Conflicts:
# src/components/datetime/DateTimeController.cpp
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 53f78ce8..81d297f5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -101,7 +101,11 @@ Pinetime::Controllers::Ble bleController; Pinetime::Controllers::HeartRateController heartRateController; Pinetime::Applications::HeartRateTask heartRateApp(heartRateSensor, heartRateController); -Pinetime::Controllers::DateTime dateTimeController; +Pinetime::Controllers::FS fs {spiNorFlash}; +Pinetime::Controllers::Settings settingsController {fs}; +Pinetime::Controllers::MotorController motorController {}; + +Pinetime::Controllers::DateTime dateTimeController {settingsController}; Pinetime::Drivers::Watchdog watchdog; Pinetime::Drivers::WatchdogView watchdogView(watchdog); Pinetime::Controllers::NotificationManager notificationManager; @@ -111,10 +115,6 @@ Pinetime::Controllers::AlarmController alarmController {dateTimeController}; Pinetime::Controllers::TouchHandler touchHandler(touchPanel, lvgl); Pinetime::Controllers::ButtonHandler buttonHandler; -Pinetime::Controllers::FS fs {spiNorFlash}; -Pinetime::Controllers::Settings settingsController {fs}; -Pinetime::Controllers::MotorController motorController {}; - Pinetime::Applications::DisplayApp displayApp(lcd, lvgl, touchPanel, |
