watchdog: Replace WatchdogView with const Watchdog
This commit is contained in:
parent
26478d9006
commit
ff34cf196e
8 changed files with 12 additions and 26 deletions
|
|
@ -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},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue