mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
esp32h2: code clean up
This commit is contained in:
@@ -42,7 +42,7 @@ void periph_module_reset(periph_module_t periph)
|
||||
portEXIT_CRITICAL_SAFE(&periph_spinlock);
|
||||
}
|
||||
|
||||
#if CONFIG_WIFI_ENABLED
|
||||
#if CONFIG_ESP32_WIFI_ENABLED
|
||||
IRAM_ATTR void wifi_bt_common_module_enable(void)
|
||||
{
|
||||
portENTER_CRITICAL_SAFE(&periph_spinlock);
|
||||
@@ -72,4 +72,4 @@ void wifi_module_disable(void)
|
||||
{
|
||||
periph_ll_wifi_module_disable_clk_set_rst();
|
||||
}
|
||||
#endif // CONFIG_WIFI_ENABLED
|
||||
#endif // CONFIG_ESP32_WIFI_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user