Multiupdate

- allow DMX for S2 & C3 (ESPDMX, needs testing)
- (debug) string cleanup & optimisation
- WLED_BRAND for AP SSID
This commit is contained in:
Blaz Kristan
2024-02-09 22:15:29 +01:00
parent 0150c3fe23
commit 276a93605d
26 changed files with 167 additions and 166 deletions

View File

@@ -214,7 +214,6 @@ void colorUpdated(byte callMode) {
void handleNightlight()
{
static unsigned long lastNlUpdate;
unsigned long now = millis();
if (now < 100 && lastNlUpdate > 0) lastNlUpdate = 0; // take care of millis() rollover
if (now - lastNlUpdate < 100) return; // allow only 10 NL updates per second