Skip to content

Fix RX validation - #21

Open
Frostie314159 wants to merge 5 commits into
mainfrom
rx_validation_fix
Open

Frostie314159 wants to merge 5 commits into
mainfrom
rx_validation_fix

Conversation

@Frostie314159

Copy link
Copy Markdown
Member

The changes made in #17 did not properly work on the ESP32-S2, due to my use of absolute offsets in the header parsing. This has been fixed and tested. I also improved the log strings a little, optimized TX completion handling, and changed the [LowLevelDriver::start_rx] function to not require a pointer to the base of the list. This allows restarting RX, even if the list is empty.

Frostie314159 and others added 5 commits August 29, 2026 16:53
This is more of a stylistic change, but it does make it clearer, from
where the log messages are coming.
The compiler fails to recognize, that `queue` can only be in the range
of 0..=4, and emits a panic branch for the call to `unwrap`.

Using a for loop instead of iterators with `for_each` fixes this.
Previously, RX validation did not work properly on the ESP32-S2, since I
used absolute offsets. My testing indicates that this is fixed now.
These changes are adapted from #23.

Co-authored-by: Matt Davis <matteius@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant