Skip to content

Commit 31c24a6

Browse files
committed
Indirectly called function, from icache ram, must also be in icache ram.
1 parent 42a7579 commit 31c24a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/core_esp8266_wiring_digital.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ void ICACHE_RAM_ATTR interrupt_handler(void *arg, void *frame)
176176

177177
extern void cleanupFunctional(void* arg);
178178

179-
static void set_interrupt_handlers(uint8_t pin, voidFuncPtr userFunc, void* arg, uint8_t mode, bool functional)
179+
static void ICACHE_RAM_ATTR set_interrupt_handlers(uint8_t pin, voidFuncPtr userFunc, void* arg, uint8_t mode, bool functional)
180180
{
181181
interrupt_handler_t* handler = &interrupt_handlers[pin];
182182
handler->mode = mode;

0 commit comments

Comments
 (0)