From 22cfe5d38424c9d6806323bbb72c26915db5d768 Mon Sep 17 00:00:00 2001 From: Andre LaFleur Date: Sat, 18 Dec 2021 11:55:15 -0700 Subject: [PATCH] Completely switch over to _rtc variable * Doing this will make it easier to shuffle the logic in WatchyRTC to these other subclasses of AbstractRTC * I think we may even want to collapse WatchyRTC completely into AbstractRTC, as the two resemble each other pretty close. We will see what sort of design we end up with in the meantime --- src/WatchyRTC.cpp | 3 +-- src/WatchyRTC.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/WatchyRTC.cpp b/src/WatchyRTC.cpp index f4613e7..202546c 100644 --- a/src/WatchyRTC.cpp +++ b/src/WatchyRTC.cpp @@ -1,7 +1,6 @@ #include "WatchyRTC.h" -WatchyRTC::WatchyRTC() - : rtc_ds(false) {} +WatchyRTC::WatchyRTC() {} // TODO: We can probably put all of this logic into AbstractRTC as a class // function. It would simplify this class even more, which would be nice diff --git a/src/WatchyRTC.h b/src/WatchyRTC.h index 14b34cf..4fd1308 100644 --- a/src/WatchyRTC.h +++ b/src/WatchyRTC.h @@ -46,8 +46,6 @@ public: class WatchyRTC { public: - DS3232RTC rtc_ds; - Rtc_Pcf8563 rtc_pcf; uint8_t rtcType; public: WatchyRTC();