Don't count time manually when RTC enabled

This commit is contained in:
Spacehuhn
2020-07-21 17:37:36 +02:00

View File

@@ -660,10 +660,12 @@ void DisplayUI::draw() {
updatePrefix();
#ifndef RTC_DS3231
if (clockTime < currentTime - 1000) {
setTime(clockHour, clockMinute++, clockSecond + 1);
clockTime += 1000;
}
#endif
switch (mode) {
case DISPLAY_MODE::BUTTON_TEST: