Skip to content

Commit d0ff01b

Browse files
committed
Pass settingsController to motionController
Supports the sleep settings PR #2230
1 parent 242a10c commit d0ff01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ Pinetime::Controllers::MotorController motorController {};
357357
Pinetime::Controllers::DateTime dateTimeController {settingsController};
358358
Pinetime::Drivers::Watchdog watchdog;
359359
Pinetime::Controllers::NotificationManager notificationManager;
360-
Pinetime::Controllers::MotionController motionController;
360+
Pinetime::Controllers::MotionController motionController {settingsController};
361361
#if defined(INFINITIME_TIMERCONTROLLER)
362362
Pinetime::Controllers::TimerController timerController;
363363
#endif

0 commit comments

Comments
 (0)