Use UDP live/realtime data on main segment only.

Includes Adalight revert, CSS optimizations and setPixelColor() refactoring.
This commit is contained in:
Blaz Kristan
2022-03-25 16:36:05 +01:00
parent c14f16bdf1
commit 41aa1ee318
18 changed files with 1762 additions and 1747 deletions

View File

@@ -100,7 +100,6 @@ void stateUpdated(byte callMode) {
setValuesFromFirstSelectedSeg();
if (bri != briOld || stateChanged) {
if (realtimeTimeout == UINT32_MAX) realtimeTimeout = 0;
if (stateChanged) currentPreset = 0; //something changed, so we are no longer in the preset
if (callMode != CALL_MODE_NOTIFICATION && callMode != CALL_MODE_NO_NOTIFY) notify(callMode);