mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(wifi): fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop
This commit is contained in:
parent
70fc0e3037
commit
541632c555
@ -446,7 +446,7 @@ void modem_clock_deselect_lp_clock_source(periph_module_t module)
|
|||||||
pmu_sleep_enable_hp_sleep_sysclk(false);
|
pmu_sleep_enable_hp_sleep_sysclk(false);
|
||||||
}
|
}
|
||||||
modem_clock_hal_enable_wifipwr_clock(MODEM_CLOCK_instance()->hal, false);
|
modem_clock_hal_enable_wifipwr_clock(MODEM_CLOCK_instance()->hal, false);
|
||||||
modem_clock_domain_clk_gate_enable(MODEM_CLOCK_DOMAIN_WIFI, PMU_HP_ICG_MODEM_CODE_SLEEP);
|
modem_clock_domain_clk_gate_enable(MODEM_CLOCK_DOMAIN_WIFIPWR, PMU_HP_ICG_MODEM_CODE_SLEEP);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user