Skip to content

Commit 031be55

Browse files
Merge pull request HelTecAutomation#151 from davidbrodrick/IrqModeFix
Add Arduino-standard 'CHANGE' interrupt type definition.
2 parents 2129996 + 55a6796 commit 031be55

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cores/asr650x/cores/ASR_Arduino.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ typedef enum
4040

4141
typedef enum
4242
{
43-
NONE,
44-
RISING,
45-
FALLING,
46-
BOTH,
43+
NONE=0,
44+
RISING=1,
45+
FALLING=2,
46+
BOTH=3,
47+
CHANGE=3
4748
}IrqModes;
4849

4950
#define DRIVE_MODE_BITS (3)

0 commit comments

Comments
 (0)