Remove unneeded brightness set in live Serial

This commit is contained in:
cschwinne 2022-03-11 08:41:01 +01:00
parent 4865ddb377
commit f922268af7

View File

@ -174,7 +174,6 @@ void handleSerial()
if (!realtimeOverride) setRealtimePixel(pixel++, red, green, blue, 0);
if (--count > 0) state = AdaState::Data_Red;
else {
if (!realtimeMode && bri == 0) strip.setBrightness(briLast, true);
realtimeLock(realtimeTimeoutMs, REALTIME_MODE_ADALIGHT);
if (!realtimeOverride) strip.show();