Skip to content

Commit 470b2b0

Browse files
committed
Merge pull request esp8266#1106 from Links2004/master
move IRQ handler timer0 to ram
2 parents e073d28 + dc5065c commit 470b2b0

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
uint32_t levels = GPI;
115115
GPIEC = status;//clear them interrupts

0 commit comments

Comments
 (0)