From ff34cf196ef16d5c06278e45567015e0e06a8c48 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Thu, 23 Feb 2023 21:34:06 +0200 Subject: watchdog: Replace WatchdogView with const Watchdog --- src/displayapp/screens/SystemInfo.cpp | 2 +- src/displayapp/screens/SystemInfo.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/displayapp/screens') diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index a63fc287..9e05af51 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -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}, diff --git a/src/displayapp/screens/SystemInfo.h b/src/displayapp/screens/SystemInfo.h index 7624afbc..199af51e 100644 --- a/src/displayapp/screens/SystemInfo.h +++ b/src/displayapp/screens/SystemInfo.h @@ -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; -- cgit v1.2.3-70-g09d2