esp-now remote: reduce number of exported functions

too many global variables and functions ... this makes stuff 'static' that can remain at file scope
This commit is contained in:
Frank
2023-07-30 21:42:05 +02:00
parent 3446044b81
commit 331089a8d9
2 changed files with 12 additions and 10 deletions

View File

@@ -105,7 +105,9 @@ void WLED::loop()
handleIR(); // 2nd call to function needed for ESP32 to return valid results -- should be good for ESP8266, too
#endif
handleConnection();
#ifndef WLED_DISABLE_ESPNOW
handleRemote();
#endif
handleSerial();
#if defined(ARDUINO_ARCH_ESP32) && defined(WLEDMM_PROTECT_SERVICE) // WLEDMM experimental: handleNotifications() calls strip.show(); handleTransitions modifies segments