aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2023-02-23 21:34:06 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-02-25 16:57:12 +0200
commitff34cf196ef16d5c06278e45567015e0e06a8c48 (patch)
tree397dc1e29930ed7e476b6f960c5ded813ef96ad7 /src/drivers
parent26478d9006ea1ce92305c8995d2d2ac61d1964c4 (diff)
watchdog: Replace WatchdogView with const Watchdog
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Watchdog.h13
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;
- };
}
}