You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when packet is processed in input_sbus_input_report_thread incoming data is stored in intermediate variable value until complete channel data is received. Issue is that value is uint16_t, resulting in discarded data in case more that 16 bit data needs to be stored at the same time.
Describe the bug
Portion of SBUS Channel 4, 7, 12 and 15 data is discarded, resulting in invalid data for these channels.
To Reproduce
Dummy SBUS packet can be used to test parser
Each channel value is set to
2047
, but parser returns invalid values for channels 4, 7, 12 and 15:Rest of the channels are valid.
Expected behavior
All channel values should be equal to 2047
The text was updated successfully, but these errors were encountered: