rtctime.cpp: fix crash until repair

This commit is contained in:
cyberman54 2022-03-05 18:10:35 +01:00
parent 790e186141
commit 01989320e0

View File

@ -65,6 +65,7 @@ time_t get_rtctime(uint16_t *msec) {
RtcDateTime tt = Rtc.GetDateTime();
t = tt.Epoch32Time(); // sec2000 -> epoch
}
/*
#ifdef RTC_INT
// adjust time to top of next second by waiting TimePulseTick to flip
bool lastTick = TimePulseTick;
@ -72,6 +73,7 @@ time_t get_rtctime(uint16_t *msec) {
};
t++;
#endif
*/
return t;
} // get_rtctime()