mirror of
https://github.com/wled/WLED.git
synced 2025-11-09 02:59:03 +00:00
Auto segment creation bugfix
- additional debug - minor optimisation
This commit is contained in:
@@ -416,7 +416,7 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
|
||||
//bool didSet = false;
|
||||
for (size_t s = 0; s < strip.getSegmentsNum(); s++) {
|
||||
Segment &sg = strip.getSegment(s);
|
||||
if (sg.isSelected()) {
|
||||
if (sg.isActive() && sg.isSelected()) {
|
||||
deserializeSegment(segVar, s, presetId);
|
||||
//didSet = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user