phy: only set phy_init_flag at power domain off, when all modems deinit

This commit is contained in:
liuning
2022-11-24 20:18:27 +08:00
committed by BOT
parent e8c393ad0a
commit b8d3553a1c
7 changed files with 25 additions and 26 deletions

View File

@@ -178,12 +178,13 @@ void esp_phy_load_cal_and_init(void);
/**
* @brief Initialize backup memory for Phy power up/down
*/
void esp_phy_pd_mem_init(void);
void esp_phy_modem_init(void);
/**
* @brief Deinitialize backup memory for Phy power up/down
* Set phy_init_flag if all modems deinit on ESP32C3
*/
void esp_phy_pd_mem_deinit(void);
void esp_phy_modem_deinit(void);
#if CONFIG_MAC_BB_PD
/**