Merge branch 'master' into dev

pull/180/head
sqfmi 2022-07-10 12:10:28 -04:00
commit 2e957fb80b
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ void WatchyRTC::read(tmElements_t &tm) {
if (rtcType == DS3231) {
rtc_ds.read(tm);
} else {
rtc_pcf.getDateTime();
tm.Year = y2kYearToTm(rtc_pcf.getYear());
tm.Month = rtc_pcf.getMonth();
tm.Day = rtc_pcf.getDay();