mirror of
https://github.com/Fishwaldo/WLED.git
synced 2025-07-22 21:08:32 +00:00
Release of WLED v0.11.0
This commit is contained in:
parent
c01dd232c5
commit
3a3948e74f
5 changed files with 35 additions and 20 deletions
|
@ -68,6 +68,7 @@ void deserializeSegment(JsonObject elem, byte it)
|
|||
if (i == 1) {colSec[0] = rgbw[0]; colSec[1] = rgbw[1]; colSec[2] = rgbw[2]; colSec[3] = rgbw[3];}
|
||||
} else { //normal case, apply directly to segment (=> no transition!)
|
||||
seg.colors[i] = ((rgbw[3] << 24) | ((rgbw[0]&0xFF) << 16) | ((rgbw[1]&0xFF) << 8) | ((rgbw[2]&0xFF)));
|
||||
if (seg.mode == FX_MODE_STATIC) strip.trigger(); //instant refresh
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue