1. Wi-Fi: update tsf tick interval when lpclk is modified

2. Move register_lpclk_callback to coexistence
This commit is contained in:
Li Shuai
2021-10-25 21:19:47 +08:00
committed by xiongweichao
parent 4afc115397
commit 4f2cec8495
10 changed files with 64 additions and 67 deletions

View File

@@ -234,6 +234,9 @@ esp_err_t esp_wifi_init(const wifi_init_config_t *config)
return ret;
}
esp_sleep_enable_wifi_wakeup();
#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE
coex_wifi_register_update_lpclk_callback(esp_wifi_update_tsf_tick_interval);
#endif
#endif
#endif