We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a64777 + 9707868 commit da436b5Copy full SHA for da436b5
components/esp8266/source/esp_wifi_os_adapter.c
@@ -16,6 +16,7 @@
16
17
#include "esp_libc.h"
18
#include "esp_system.h"
19
+#include "esp_attr.h"
20
#include "esp_wifi_os_adapter.h"
21
22
#include "freertos/FreeRTOS.h"
@@ -30,14 +31,14 @@
30
31
#include "esp_newlib.h"
32
#endif
33
-static uint32_t enter_critical_wrapper(void)
34
+static uint32_t IRAM_ATTR enter_critical_wrapper(void)
35
{
36
taskENTER_CRITICAL();
37
38
return 0;
39
}
40
-static void exit_critical_wrapper(uint32_t tmp)
41
+static void IRAM_ATTR exit_critical_wrapper(uint32_t tmp)
42
43
taskEXIT_CRITICAL();
44
0 commit comments