Skip to content

Commit a71651f

Browse files
committed
Fix for 656a33e
1 parent d127efa commit a71651f

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

libraries/FunctionalInterrupt/examples/Functional/Functional.ino

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33

44
//#include <FunctionalInterrupt.h>
55

6-
#ifndef IRAM_ATTR
7-
#define IRAM_ATTR ICACHE_RAM_ATTR
8-
#endif
9-
106
#if defined(ESP32)
117
#define BUTTON1 16
128
#define BUTTON2 17

libraries/FunctionalInterrupt/examples/ScheduledFunctional/ScheduledFunctional.ino

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#include <FunctionalInterrupt.h>
22

3-
#ifndef IRAM_ATTR
4-
#define IRAM_ATTR ICACHE_RAM_ATTR
5-
#endif
6-
73
#if defined(ESP32)
84
#define BUTTON1 16
95
#define BUTTON2 17

libraries/FunctionalInterrupt/src/FunctionalInterrupt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace
1616
InterruptInfo interruptInfo;
1717
};
1818

19-
void ICACHE_RAM_ATTR interruptScheduleFunctional(const InterruptScheduleFunctionalArg& arg)
19+
void IRAM_ATTR interruptScheduleFunctional(const InterruptScheduleFunctionalArg& arg)
2020
{
2121
ScheduleLambdaArg lambdaArg{ arg.scheduledIntRoutine, { arg.pin } };
2222
lambdaArg.interruptInfo.value = digitalRead(arg.pin);

0 commit comments

Comments
 (0)