mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
Merge branch 'bugfix/fix_phy_cal_data_v5.2' into 'release/v5.2'
fix(phy): add phy calibration data check when mode is not none calibration v5.2 See merge request espressif/esp-idf!31816
This commit is contained in:
Submodule components/esp_phy/lib updated: 792ba5917e...06e7625de1
@ -858,8 +858,7 @@ void esp_phy_load_cal_and_init(void)
|
||||
ESP_LOGW(TAG, "saving new calibration data because of checksum failure, mode(%d)", calibration_mode);
|
||||
}
|
||||
|
||||
if ((calibration_mode != PHY_RF_CAL_NONE && err != ESP_OK) ||
|
||||
(calibration_mode != PHY_RF_CAL_FULL && ret == ESP_CAL_DATA_CHECK_FAIL)) {
|
||||
if ((calibration_mode != PHY_RF_CAL_NONE) && ((err != ESP_OK) || (ret == ESP_CAL_DATA_CHECK_FAIL))) {
|
||||
err = esp_phy_store_cal_data_to_nvs(cal_data);
|
||||
} else {
|
||||
err = ESP_OK;
|
||||
|
Reference in New Issue
Block a user