fix(wifi): allow to disable wifi modem clocks if wifi is not inited

This commit is contained in:
liuning
2026-01-09 16:53:20 +08:00
committed by BOT
parent 64af7a790e
commit a567d91e85
3 changed files with 46 additions and 4 deletions
@@ -74,6 +74,15 @@ void modem_clock_module_disable(shared_periph_module_t module);
*/
uint32_t modem_clock_module_bits_get(shared_periph_module_t module);
#if SOC_WIFI_SUPPORTED
/**
* @brief Set Wi-Fi initialization status.
*
* @param inited Wi-Fi initialization status.
*/
void modem_clock_configure_wifi_status(bool inited);
#endif
/**
* @brief Reset the mac of modem module
*