Skip to content

Commit 1e60c31

Browse files
Merge pull request HelTecAutomation#147 from lyusupov/master
Arduino API conformance: digitalPinToInterrupt() definition
2 parents 71b74e1 + 34d47e4 commit 1e60c31

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)