fix FX checkmark sync (#5239)

this fixes an ancient copy-paste bug that apparently went under the radar for years. Now FX checkmarks sync correctly.
This commit is contained in:
Damian Schneider 2025-12-29 14:54:38 +01:00 committed by GitHub
parent 46e77ea203
commit 787d8a7342
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -334,8 +334,8 @@ static void parseNotifyPacket(const uint8_t *udpIn) {
selseg.custom2 = udpIn[30+ofs]; selseg.custom2 = udpIn[30+ofs];
selseg.custom3 = udpIn[31+ofs] & 0x1F; selseg.custom3 = udpIn[31+ofs] & 0x1F;
selseg.check1 = (udpIn[31+ofs]>>5) & 0x1; selseg.check1 = (udpIn[31+ofs]>>5) & 0x1;
selseg.check1 = (udpIn[31+ofs]>>6) & 0x1; selseg.check2 = (udpIn[31+ofs]>>6) & 0x1;
selseg.check1 = (udpIn[31+ofs]>>7) & 0x1; selseg.check3 = (udpIn[31+ofs]>>7) & 0x1;
} }
} }
if (receiveSegmentBounds) { if (receiveSegmentBounds) {