diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-02-23 21:34:06 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-02-25 16:57:12 +0200 |
| commit | ff34cf196ef16d5c06278e45567015e0e06a8c48 (patch) | |
| tree | 397dc1e29930ed7e476b6f960c5ded813ef96ad7 /src/drivers/Watchdog.h | |
| parent | 26478d9006ea1ce92305c8995d2d2ac61d1964c4 (diff) | |
watchdog: Replace WatchdogView with const Watchdog
Diffstat (limited to 'src/drivers/Watchdog.h')
| -rw-r--r-- | src/drivers/Watchdog.h | 13 |
1 files changed, 0 insertions, 13 deletions
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; - }; } } |
