fix the bug that some memory leaked in phy after wifi/ble deinit

This commit is contained in:
Jack
2022-06-16 20:27:59 +08:00
parent c8854b09e3
commit cb0dd5cc75
7 changed files with 57 additions and 8 deletions

View File

@@ -175,6 +175,16 @@ void esp_phy_disable(void);
*/
void esp_phy_load_cal_and_init(void);
/**
* @brief Initialize backup memory for Phy power up/down
*/
void esp_phy_pd_mem_init(void);
/**
* @brief Deinitialize backup memory for Phy power up/down
*/
void esp_phy_pd_mem_deinit(void);
#if CONFIG_MAC_BB_PD
/**
* @brief Initialize backup memory for MAC and Baseband power up/down