Skip to content

Commit 7c2c265

Browse files
committed
Make Arduino.h version of digitalPinToInterrupt return argument
1 parent d55f944 commit 7c2c265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/Arduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void loop( void ) ;
116116

117117
#if (ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10605)
118118
// Interrupts
119-
#define digitalPinToInterrupt(P) ( g_APinDescription[P].ulExtInt )
119+
#define digitalPinToInterrupt(P) ( P )
120120
#endif
121121

122122
// USB Device

0 commit comments

Comments
 (0)