Skip to content

Commit 9552cc6

Browse files
committed
Merge branch 'arduinoGemmaInterrupts' of https://github.com/agdl/Arduino
2 parents 9ad96c0 + d52b5a8 commit 9552cc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hardware/arduino/avr/variants/gemma/pins_arduino.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ static const uint8_t A3 = 9;
5454
#define digitalPinToPCMSK(p) ( ((p) <= 4) ? (&PCMSK) : ((uint8_t *)0) )
5555
#define digitalPinToPCMSKbit(p) ( (p) )
5656

57+
#define digitalPinToInterrupt(p) ((p) == 2 ? 0 : NOT_AN_INTERRUPT)
58+
5759
#define analogPinToChannel(p) ( (p) < 6 ? (p) : (p) - 6 )
5860

5961
#define TCCR1A GTCCR

0 commit comments

Comments
 (0)