Fix udp sync (fix for #3487)
This commit is contained in:
parent
eba0d7c1e0
commit
367a4e17a2
@ -296,8 +296,9 @@ void parseNotifyPacket(uint8_t *udpIn) {
|
|||||||
}
|
}
|
||||||
if (version > 11) {
|
if (version > 11) {
|
||||||
// when applying synced options ignore selected as it may be used as indicator of which segments to sync
|
// when applying synced options ignore selected as it may be used as indicator of which segments to sync
|
||||||
// freeze, reset & transitional should never be synced
|
// freeze, reset should never be synced
|
||||||
selseg.options = (selseg.options & 0x0071U) | (udpIn[28+ofs]<<8) | (udpIn[9 +ofs] & 0x8E); // ignore selected, freeze, reset & transitional
|
// LSB to MSB: select, reverse, on, mirror, freeze, reset, reverse_y, mirror_y, transpose, map1d2d (3), ssim (2), set (2)
|
||||||
|
selseg.options = (selseg.options & 0b0000000000110001U) | (udpIn[28+ofs]<<8) | (udpIn[9 +ofs] & 0b11001110U); // ignore selected, freeze, reset
|
||||||
if (applyEffects) {
|
if (applyEffects) {
|
||||||
selseg.custom1 = udpIn[29+ofs];
|
selseg.custom1 = udpIn[29+ofs];
|
||||||
selseg.custom2 = udpIn[30+ofs];
|
selseg.custom2 = udpIn[30+ofs];
|
||||||
|
Loading…
Reference in New Issue
Block a user