esp32h2: code clean up

This commit is contained in:
Shu Chen
2021-06-11 16:30:22 +08:00
parent e9a51e410a
commit ee23a489b9
26 changed files with 34 additions and 248 deletions

View File

@@ -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