feat: add option to disable radio calibration and update status error handling
This commit is contained in:
@ -43,7 +43,7 @@ static constexpr auto verify_statuses = [](std::span<const uint8_t> statuses) {
|
||||
uint8_t i = 0;
|
||||
for (const auto st : statuses) {
|
||||
if (const auto err = status_to_err(st); err != error::OK) {
|
||||
ESP_LOGE(TAG, "failed to verify status 0x%02x at byte %u", st, i);
|
||||
ESP_LOGE(TAG, "bad status 0x%02x at byte %u", st, i);
|
||||
return err;
|
||||
}
|
||||
i += 1;
|
||||
|
||||
Reference in New Issue
Block a user