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

@@ -35,7 +35,7 @@ SystemInfo::SystemInfo(Pinetime::Applications::DisplayApp* app,
const Pinetime::Controllers::Battery& batteryController,
Pinetime::Controllers::BrightnessController& brightnessController,
const Pinetime::Controllers::Ble& bleController,
Pinetime::Drivers::WatchdogView& watchdog,
const Pinetime::Drivers::Watchdog& watchdog,
Pinetime::Controllers::MotionController& motionController,
const Pinetime::Drivers::Cst816S& touchPanel)
: app {app},

View File

@@ -13,7 +13,7 @@ namespace Pinetime {
}
namespace Drivers {
class WatchdogView;
class Watchdog;
}
namespace Applications {
@@ -27,7 +27,7 @@ namespace Pinetime {
const Pinetime::Controllers::Battery& batteryController,
Pinetime::Controllers::BrightnessController& brightnessController,
const Pinetime::Controllers::Ble& bleController,
Pinetime::Drivers::WatchdogView& watchdog,
const Pinetime::Drivers::Watchdog& watchdog,
Pinetime::Controllers::MotionController& motionController,
const Pinetime::Drivers::Cst816S& touchPanel);
~SystemInfo() override;
@@ -39,7 +39,7 @@ namespace Pinetime {
const Pinetime::Controllers::Battery& batteryController;
Pinetime::Controllers::BrightnessController& brightnessController;
const Pinetime::Controllers::Ble& bleController;
Pinetime::Drivers::WatchdogView& watchdog;
const Pinetime::Drivers::Watchdog& watchdog;
Pinetime::Controllers::MotionController& motionController;
const Pinetime::Drivers::Cst816S& touchPanel;