mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-11 17:19:58 +01:00
Don't count time manually when RTC enabled
This commit is contained in:
@@ -659,11 +659,13 @@ void DisplayUI::draw() {
|
||||
drawTime = currentTime;
|
||||
|
||||
updatePrefix();
|
||||
|
||||
|
||||
#ifndef RTC_DS3231
|
||||
if (clockTime < currentTime - 1000) {
|
||||
setTime(clockHour, clockMinute++, clockSecond + 1);
|
||||
clockTime += 1000;
|
||||
}
|
||||
#endif
|
||||
|
||||
switch (mode) {
|
||||
case DISPLAY_MODE::BUTTON_TEST:
|
||||
|
||||
Reference in New Issue
Block a user