Skip to content

Commit 6710a3c

Browse files
committed
As per review, __detachInterrupt() shall be in ICACHE_RAM.
1 parent 689165d commit 6710a3c

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 @@ extern void __attachInterrupt(uint8_t pin, voidFuncPtr userFunc, int mode)
176176
}, mode);
177177
}
178178

179-
extern void __detachInterrupt(uint8_t pin)
179+
extern void ICACHE_RAM_ATTR __detachInterrupt(uint8_t pin)
180180
{
181181
if (pin < 16)
182182
{

0 commit comments

Comments
 (0)