esp_wifi: fix a WiFi receiving bug

Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
This commit is contained in:
liu zhifu
2019-08-20 15:47:42 +08:00
committed by Jack
parent c5708c89ed
commit e1eeef2276
5 changed files with 74 additions and 4 deletions

View File

@@ -202,6 +202,18 @@ esp_err_t esp_phy_rf_deinit(phy_rf_module_t module);
*/
void esp_phy_load_cal_and_init(phy_rf_module_t module);
/**
* @brief Enable WiFi/BT common clock
*
*/
void esp_phy_common_clock_enable(void);
/**
* @brief Disable WiFi/BT common clock
*
*/
void esp_phy_common_clock_disable(void);
/**
* @brief Module requires to enter modem sleep
*/