Small optimizations

This commit is contained in:
cschwinne
2021-05-27 00:09:52 +02:00
parent 8431d0bd5c
commit 6c8bf090fe
8 changed files with 304 additions and 302 deletions

View File

@@ -177,8 +177,8 @@ void WiFiEvent(WiFiEvent_t event)
void WLED::loop()
{
toki.millisecond();
toki.setTick();
handleTime();
handleIR(); // 2nd call to function needed for ESP32 to return valid results -- should be good for ESP8266, too
handleConnection();
handleSerial();
@@ -193,10 +193,8 @@ void WLED::loop()
yield();
handleIO();
handleIR();
handleNetworkTime();
handleAlexa();
handleOverlays();
yield();
if (doReboot)