Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix sending of I2C errors via telemetry
* we can't pass the address of a volatile var to the downlink macros: it will be cast to (const uint8_t*) and read byte by byte and hence not work properly if it is volatile * you will also rightly get a warning "cast discards qualifiers from pointer target type" * so we need to copy it to a non-volatile var before sending
- Loading branch information
Showing
1 changed file
with
71 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters