fix the wifi scan fail issue caused by the power off the wifi power domain

This commit is contained in:
Li Shuai
2021-11-08 20:52:03 +08:00
parent e6ceedf3a0
commit bf650edc55
3 changed files with 12 additions and 1 deletions

View File

@@ -68,6 +68,13 @@ void phy_close_rf(void);
void phy_xpd_tsens(void);
#endif
#if CONFIG_IDF_TARGET_ESP32C3
/**
* @brief Update internal state of PHY when wifi deinit powers off the wifi power domain.
*/
void phy_init_flag(void);
#endif
/**
* @brief Store and load PHY digital registers.
*