esp_wifi: fix nolightsleep after wifi init (backport to v4.3)

This commit is contained in:
ninh
2021-04-21 15:17:16 +08:00
parent 0ddf00c6e1
commit 6dc067dda7
4 changed files with 17 additions and 1 deletions

View File

@@ -303,6 +303,12 @@ esp_err_t esp_sleep_enable_uart_wakeup(int uart_num);
*/
esp_err_t esp_sleep_enable_wifi_wakeup(void);
/**
* @brief Disable wakeup by WiFi MAC
* @return
* - ESP_OK on success
*/
esp_err_t esp_sleep_disable_wifi_wakeup(void);
/**
* @brief Get the bit mask of GPIOs which caused wakeup (ext1)