From 22883c76b89c48b1100db372726d02681da4ef41 Mon Sep 17 00:00:00 2001 From: GuruSR Date: Wed, 22 Dec 2021 21:39:04 -0500 Subject: [PATCH] Year offsets no longer necessary. --- src/WatchyRTC.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/WatchyRTC.h b/src/WatchyRTC.h index ea5350b..9fb405d 100644 --- a/src/WatchyRTC.h +++ b/src/WatchyRTC.h @@ -8,8 +8,6 @@ #define PCF8563 1 #define RTC_DS_ADDR 0x68 #define RTC_PCF_ADDR 0x51 -#define YEAR_OFFSET_DS 1970 -#define YEAR_OFFSET_PCF 2000 class WatchyRTC { public: @@ -31,4 +29,4 @@ class WatchyRTC { String _getValue(String data, char separator, int index); }; -#endif \ No newline at end of file +#endif