mirror of
https://github.com/wled/WLED.git
synced 2025-04-24 06:47:18 +00:00
Bugfix.
- prevent LED flash on realtime end
This commit is contained in:
parent
217004c70c
commit
1c8f349a62
@ -189,7 +189,7 @@ void realtimeLock(uint32_t timeoutMs, byte md)
|
||||
void exitRealtime() {
|
||||
if (!realtimeMode) return;
|
||||
if (realtimeOverride == REALTIME_OVERRIDE_ONCE) realtimeOverride = REALTIME_OVERRIDE_NONE;
|
||||
strip.setBrightness(scaledBri(bri));
|
||||
strip.setBrightness(scaledBri(bri), true);
|
||||
realtimeTimeout = 0; // cancel realtime mode immediately
|
||||
realtimeMode = REALTIME_MODE_INACTIVE; // inform UI immediately
|
||||
realtimeIP[0] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user