watchdog: Replace WatchdogView with const Watchdog

This commit is contained in:
Riku Isokoski
2023-02-23 21:34:06 +02:00
parent 26478d9006
commit ff34cf196e
8 changed files with 12 additions and 26 deletions

View File

@@ -106,7 +106,6 @@ Pinetime::Controllers::MotorController motorController {};
Pinetime::Controllers::DateTime dateTimeController {settingsController};
Pinetime::Drivers::Watchdog watchdog;
Pinetime::Drivers::WatchdogView watchdogView(watchdog);
Pinetime::Controllers::NotificationManager notificationManager;
Pinetime::Controllers::MotionController motionController;
Pinetime::Controllers::TimerController timerController;
@@ -121,7 +120,7 @@ Pinetime::Applications::DisplayApp displayApp(lcd,
batteryController,
bleController,
dateTimeController,
watchdogView,
watchdog,
notificationManager,
heartRateController,
settingsController,