Bugfix.
- allow saving of reboot preset - return Spread slider
This commit is contained in:
parent
4f8610f895
commit
5e2fa13471
@ -2765,7 +2765,7 @@ uint16_t mode_spots()
|
||||
{
|
||||
return spots_base((255 - SEGMENT.speed) << 8);
|
||||
}
|
||||
static const char _data_FX_MODE_SPOTS[] PROGMEM = "Spots@,Width,,,,,Overlay;!,!;!";
|
||||
static const char _data_FX_MODE_SPOTS[] PROGMEM = "Spots@Spread,Width,,,,,Overlay;!,!;!";
|
||||
|
||||
|
||||
//Intensity slider sets number of "lights", LEDs per light fade in and out
|
||||
|
@ -338,7 +338,7 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
|
||||
if (presetsModifiedTime == 0) presetsModifiedTime = timein;
|
||||
}
|
||||
|
||||
doReboot = root[F("rb")] | doReboot;
|
||||
if (root[F("psave")].isNull()) doReboot = root[F("rb")] | doReboot;
|
||||
|
||||
// do not allow changing main segment while in realtime mode (may get odd results else)
|
||||
if (!realtimeMode) strip.setMainSegmentId(root[F("mainseg")] | strip.getMainSegmentId()); // must be before realtimeLock() if "live"
|
||||
|
Loading…
Reference in New Issue
Block a user