Skip to content

Commit 6c20126

Browse files
committed
move IRQ handler to ram.
1 parent 14949f5 commit 6c20126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/core_esp8266_wiring_digital.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ typedef struct {
109109
static interrupt_handler_t interrupt_handlers[16];
110110
static uint32_t interrupt_reg = 0;
111111

112-
void interrupt_handler(void *arg) {
112+
void ICACHE_RAM_ATTR interrupt_handler(void *arg) {
113113
uint32_t status = GPIE;
114114
GPIEC = status;//clear them interrupts
115115
if(status == 0 || interrupt_reg == 0) return;

0 commit comments

Comments
 (0)