Remove unneeded brightness set in live Serial
This commit is contained in:
parent
4865ddb377
commit
f922268af7
@ -174,7 +174,6 @@ void handleSerial()
|
|||||||
if (!realtimeOverride) setRealtimePixel(pixel++, red, green, blue, 0);
|
if (!realtimeOverride) setRealtimePixel(pixel++, red, green, blue, 0);
|
||||||
if (--count > 0) state = AdaState::Data_Red;
|
if (--count > 0) state = AdaState::Data_Red;
|
||||||
else {
|
else {
|
||||||
if (!realtimeMode && bri == 0) strip.setBrightness(briLast, true);
|
|
||||||
realtimeLock(realtimeTimeoutMs, REALTIME_MODE_ADALIGHT);
|
realtimeLock(realtimeTimeoutMs, REALTIME_MODE_ADALIGHT);
|
||||||
|
|
||||||
if (!realtimeOverride) strip.show();
|
if (!realtimeOverride) strip.show();
|
||||||
|
Loading…
Reference in New Issue
Block a user