esp_wifi: clear phy calibrated flag when phy pd memory deinit

This commit is contained in:
Jack
2022-07-06 12:19:22 +08:00
committed by BOT
parent 9b0b046382
commit 937069dc6c

View File

@@ -305,6 +305,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;
}