Witty-Wizard / SerialIO

An Arduino library for decoding multiple RC protocols.
https://witty-wizard.github.io/SerialIO/
GNU General Public License v3.0
3 stars 0 forks source link

🪲[Bug]: Incorrect channel decoding in IBus #17

Closed Witty-Wizard closed 2 months ago

Witty-Wizard commented 2 months ago

Describe the bug IBus channel consist of 16 bits, the library uses crsf_channels_t struct to decode the incoming packets, in which each channel consist of 11 bits.

Expected behavior Create a new struct for storing the IBus channels that consist of 14 channels each of 16bits.

Additional context The bug can be seen in this line of code :- https://github.com/Witty-Wizard/SerialIO/blob/6a9be1bdf21d83920766deb92c7155434611c342/src/ibus.cpp#L46C3-L46C26