From 0395078a06f4b574c42d92ce37b52e3b95db8618 Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Wed, 8 Jun 2022 19:52:32 +0530 Subject: [PATCH] NimBLE: fix compilation issue in nimble examples for ESP32H2 --- components/esp_hw_support/periph_ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hw_support/periph_ctrl.c b/components/esp_hw_support/periph_ctrl.c index 2bdf993232..8a226b236f 100644 --- a/components/esp_hw_support/periph_ctrl.c +++ b/components/esp_hw_support/periph_ctrl.c @@ -42,7 +42,7 @@ void periph_module_reset(periph_module_t periph) portEXIT_CRITICAL_SAFE(&periph_spinlock); } -#if CONFIG_ESP32_WIFI_ENABLED || CONFIG_BT_ENABLED +#if CONFIG_ESP32_WIFI_ENABLED IRAM_ATTR void wifi_bt_common_module_enable(void) { portENTER_CRITICAL_SAFE(&periph_spinlock);