mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
feat(modem): rename the sleep modem functions
This commit is contained in:
@@ -478,7 +478,7 @@ esp_err_t esp_wifi_init(const wifi_init_config_t *config)
|
||||
esp_phy_modem_init();
|
||||
#endif
|
||||
#if CONFIG_ESP_WIFI_ENHANCED_LIGHT_SLEEP
|
||||
if (sleep_modem_wifi_modem_state_enabled()) {
|
||||
if (sleep_modem_phy_link_enabled()) {
|
||||
esp_pm_register_skip_light_sleep_callback(sleep_modem_wifi_modem_state_skip_light_sleep);
|
||||
esp_wifi_internal_modem_state_configure(true); /* require WiFi to enable automatically receives the beacon */
|
||||
#if ESP_MODEM_RF_FLAG_UPDATE_CB_REQUIRED
|
||||
|
||||
Reference in New Issue
Block a user