aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-04-09 20:47:24 +0200
committerJean-François Milants <jf@codingfield.com>2021-04-09 20:47:24 +0200
commit63584b6561cbc31095354b06e356f700dcf0e32b (patch)
treeb8ee17d8bfdc57c3b80b7c918f3431d198939856 /src/main.cpp
parent3934e9bef20c5c2ad393e20cfff3a5a1b0d24569 (diff)
parent9096d1db4c6be9f4a2cc8af99a994c219f25108c (diff)
Merge branch 'develop' into notification-title
# Conflicts: # src/displayapp/screens/Notifications.cpp
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bd4bbe79..ed00844c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -111,9 +111,9 @@ void ble_manager_set_ble_disconnection_callback(void (*disconnection)());
static constexpr uint8_t pinTouchIrq = 28;
std::unique_ptr<Pinetime::System::SystemTask> systemTask;
-Pinetime::Controllers::MotorController motorController;
+Pinetime::Controllers::Settings settingsController{spiNorFlash};
-Pinetime::Controllers::Settings settingsController;
+Pinetime::Controllers::MotorController motorController{settingsController};
void nrfx_gpiote_evt_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action) {
if(pin == pinTouchIrq) {