mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-23 09:20:30 +00:00
esp_phy: add menuconfig of phy calibration mode
This commit is contained in:
@@ -780,7 +780,7 @@ void esp_phy_load_cal_and_init(void)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE
|
||||
esp_phy_calibration_mode_t calibration_mode = PHY_RF_CAL_PARTIAL;
|
||||
esp_phy_calibration_mode_t calibration_mode = CONFIG_ESP_PHY_CALIBRATION_MODE;
|
||||
uint8_t sta_mac[6];
|
||||
if (esp_rom_get_reset_reason(0) == RESET_REASON_CORE_DEEP_SLEEP) {
|
||||
calibration_mode = PHY_RF_CAL_NONE;
|
||||
|
Reference in New Issue
Block a user