Skip to content

Commit 34d47e4

Browse files
authored
Arduino API conformance: digitalPinToInterrupt() definition
1 parent 2129996 commit 34d47e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/asr650x/Arduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
#define _max(a,b) ((a)>(b)?(a):(b))
7878
#define noInterrupts() CyGlobalIntDisable
7979
#define interrupts() CyGlobalIntEnable
80+
#define digitalPinToInterrupt(p) ( p )
8081

8182
#define clockCyclesPerMicrosecond() ( 48L ) // clock cycle 48 MHz
8283
#define clockCyclesToMicroseconds(a) ( (a) / clockCyclesPerMicrosecond() )

0 commit comments

Comments
 (0)