Adjust idle status display text switch time

This commit is contained in:
Laura Hausmann 2023-02-10 02:18:02 +01:00
parent 61c399cd1e
commit a672990f42
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -127,7 +127,7 @@ void updateOLED(U8G2 u8g2, e_state state, String statusText, String statusTextRi
void updateOLED(U8G2 u8g2, e_state state) {
String time = DateTime.format(DateFormatter::TIME_ONLY);
if (!digitalRead(PIN_INTERRUPT_CANCEL) || millis()%10000 < 5000)
if (!digitalRead(PIN_INTERRUPT_CANCEL) || millis()%20000 < 10000)
updateOLED(u8g2, state, time, AFRAPAY_REVISION);
else
updateOLED(u8g2, state, time, WiFi.localIP().toString());