Change currentPreset to byte

JSON API still returns -1 for no preset
This commit is contained in:
cschwinne
2021-10-03 13:53:37 +02:00
parent 91598cbbbf
commit 6ddcba8917
4 changed files with 5 additions and 5 deletions

View File

@@ -111,7 +111,7 @@ void colorUpdated(int callMode)
{
effectChanged = false;
if (realtimeTimeout == UINT32_MAX) realtimeTimeout = 0;
currentPreset = -1; //something changed, so we are no longer in the preset
currentPreset = 0; //something changed, so we are no longer in the preset
notify(callMode);