Swapped grouping and spacing in UDP packet.
This commit is contained in:
parent
10e216da6b
commit
20ccca0aec
@ -89,8 +89,8 @@ void notify(byte callMode, bool followUp)
|
|||||||
for (uint8_t i = 0; i < strip.getMaxSegments(); i++) {
|
for (uint8_t i = 0; i < strip.getMaxSegments(); i++) {
|
||||||
WS2812FX::Segment &selseg = strip.getSegment(i);
|
WS2812FX::Segment &selseg = strip.getSegment(i);
|
||||||
udpOut[40+i*3] = selseg.options & 0x0F; //only take into account mirrored, selected, on, reversed
|
udpOut[40+i*3] = selseg.options & 0x0F; //only take into account mirrored, selected, on, reversed
|
||||||
udpOut[41+i*3] = selseg.spacing;
|
udpOut[41+i*3] = selseg.grouping;
|
||||||
udpOut[42+i*3] = selseg.grouping;
|
udpOut[42+i*3] = selseg.spacing;
|
||||||
}
|
}
|
||||||
|
|
||||||
IPAddress broadcastIp;
|
IPAddress broadcastIp;
|
||||||
|
Loading…
Reference in New Issue
Block a user