Port out mask sampling seems to start one byte short
orzdk opened this issue · 1 comments
orzdk commented
In mod_intsysex.h line 498, mask target sampling starts in message byte 4 which seems to be the outporttype for 0E 03 messages. Should this be 5 ?
|
v
for ( uint8_t i = 5 ; i <= msgLen ; i++) {
if ( sxMsg[i] < SERIAL_INTERFACE_COUNT )
newMsk |= 1 << sxMsg[i] ;
else return SX_ERROR_BAD_PORT;
}
BR : )
TheKikGen commented
Yes. 5 . Bug corrected and will be in the next push.