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/drivers/Watchdog.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/drivers/Watchdog.h') diff --git a/src/drivers/Watchdog.h b/src/drivers/Watchdog.h index 22aa9df6..65a505cb 100644 --- a/src/drivers/Watchdog.h +++ b/src/drivers/Watchdog.h @@ -20,18 +20,5 @@ namespace Pinetime { ResetReasons resetReason; ResetReasons ActualResetReason() const; }; - - class WatchdogView { - public: - WatchdogView(const Watchdog& watchdog) : watchdog {watchdog} { - } - - Watchdog::ResetReasons ResetReason() const { - return watchdog.ResetReason(); - } - - private: - const Watchdog& watchdog; - }; } } -- cgit v1.2.3-70-g09d2