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

@@ -27,7 +27,7 @@ namespace Pinetime {
namespace Drivers {
class St7789;
class Cst816S;
class WatchdogView;
class Watchdog;
}
namespace Controllers {
@@ -57,7 +57,7 @@ namespace Pinetime {
const Controllers::Battery& batteryController,
const Controllers::Ble& bleController,
Controllers::DateTime& dateTimeController,
Drivers::WatchdogView& watchdog,
const Drivers::Watchdog& watchdog,
Pinetime::Controllers::NotificationManager& notificationManager,
Pinetime::Controllers::HeartRateController& heartRateController,
Controllers::Settings& settingsController,
@@ -84,7 +84,7 @@ namespace Pinetime {
const Pinetime::Controllers::Battery& batteryController;
const Pinetime::Controllers::Ble& bleController;
Pinetime::Controllers::DateTime& dateTimeController;
Pinetime::Drivers::WatchdogView& watchdog;
const Pinetime::Drivers::Watchdog& watchdog;
Pinetime::System::SystemTask* systemTask = nullptr;
Pinetime::Controllers::NotificationManager& notificationManager;
Pinetime::Controllers::HeartRateController& heartRateController;