Skip to content

🪲Bug: ibus header field mixed with first channel #29

@gandy92

Description

@gandy92

Describe the bug
While figuring out an channel value overflow issue on ibus, resulting in #28, I printed header and channel data from the ``ibus_channels_t``` struct. Here, the header value changes with changing values on channel1, the reason being that the header code is constructed from a byte thar belongs to channel 1 data in

_channelData.header = (_rxData[2] << 8) | _rxData[0];
:

which should read

        _channelData.header = (_rxData[1] << 8) | _rxData[0];

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions