Merge branch 'bugfix/fix_phy_pll_track_corner_case' into 'master'

fix(phy): fix pll track when enabling and disabling PHY frequently

See merge request espressif/esp-idf!28547
This commit is contained in:
Jiang Jiang Jian
2024-03-04 14:27:46 +08:00
5 changed files with 58 additions and 31 deletions

View File

@@ -278,6 +278,10 @@ void esp_phy_enable(esp_phy_modem_t modem)
#endif
}
phy_set_modem_flag(modem);
#if !CONFIG_IDF_TARGET_ESP32
// Immediately track pll when phy enabled.
phy_track_pll();
#endif
_lock_release(&s_phy_access_lock);
}