We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef80030 commit d1fc700Copy full SHA for d1fc700
cores/esp8266/core_esp8266_timer.c
@@ -50,7 +50,7 @@ void timer1_attachInterrupt(timercallback userFunc) {
50
ETS_FRC1_INTR_ENABLE();
51
}
52
53
-void timer1_detachInterrupt() {
+void ICACHE_RAM_ATTR timer1_detachInterrupt() {
54
timer1_user_cb = 0;
55
TEIE &= ~TEIE1;//edge int disable
56
ETS_FRC1_INTR_DISABLE();
@@ -95,7 +95,7 @@ void timer0_attachInterrupt(timercallback userFunc) {
95
ETS_CCOMPARE0_ENABLE();
96
97
98
-void timer0_detachInterrupt() {
+void ICACHE_RAM_ATTR timer0_detachInterrupt() {
99
timer0_user_cb = NULL;
100
ETS_CCOMPARE0_DISABLE();
101
0 commit comments