esp_wifi: clear phy calibrated flag when phy pd memory deinit

This commit is contained in:
muhaidong 2022-06-28 15:03:11 +08:00
parent 5c33bb8ae2
commit 52c78344c1

View File

@ -320,6 +320,7 @@ void esp_phy_pd_mem_deinit(void)
s_phy_backup_mem_ref--;
if (s_phy_backup_mem_ref == 0) {
s_is_phy_calibrated = false;
free(s_phy_digital_regs_mem);
s_phy_digital_regs_mem = NULL;
}