Fixed missing definition of digitalPinToInterrupt, by adding macro which simply uses the pin number - as it doesnt need to be mapped
This commit is contained in:
parent
9b4122ecaf
commit
c5caa5d288
|
@ -104,5 +104,7 @@ typedef unsigned int word;
|
|||
#define clockCyclesToMicroseconds(a) ( ((a) * 1000L) / (F_CPU / 1000L) )
|
||||
#define microsecondsToClockCycles(a) ( (a) * (F_CPU / 1000000L) )
|
||||
|
||||
#define digitalPinToInterrupt(pin) (pin)
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue