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() {
|
void exitRealtime() {
|
||||||
if (!realtimeMode) return;
|
if (!realtimeMode) return;
|
||||||
if (realtimeOverride == REALTIME_OVERRIDE_ONCE) realtimeOverride = REALTIME_OVERRIDE_NONE;
|
if (realtimeOverride == REALTIME_OVERRIDE_ONCE) realtimeOverride = REALTIME_OVERRIDE_NONE;
|
||||||
strip.setBrightness(scaledBri(bri));
|
strip.setBrightness(scaledBri(bri), true);
|
||||||
realtimeTimeout = 0; // cancel realtime mode immediately
|
realtimeTimeout = 0; // cancel realtime mode immediately
|
||||||
realtimeMode = REALTIME_MODE_INACTIVE; // inform UI immediately
|
realtimeMode = REALTIME_MODE_INACTIVE; // inform UI immediately
|
||||||
realtimeIP[0] = 0;
|
realtimeIP[0] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user