Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SX1276, LoRaWAN] Fix confusing return value in LoRaWAN::processJoinA…
…ccept (#1262) The error RADIOLIB_ERR_LORA_HEADER_DAMAGED board returned fromreadData(...) and signaled from a SX1276 is in fact correctly ignored but the state variable is not corrected. This confuses the caller due to the wrongly returned state value RADIOLIB_ERR_LORA_HEADER_DAMAGED. Change: Clear state also.
- Loading branch information