We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c68c0b1 commit 12c4506Copy full SHA for 12c4506
variants/circuitplay/variant.h
@@ -51,7 +51,10 @@
51
#define portInputRegister(port) (&(port->IN.reg))
52
#define portModeRegister(port) (&(port->DIR.reg))
53
#define digitalPinHasPWM(P) (g_APinDescription[P].ulPWMChannel != NOT_ON_PWM || g_APinDescription[P].ulTCChannel != NOT_ON_TIMER)
54
-#define digitalPinToInterrupt(P) (g_APinDescription[P].ulExtInt)
+
55
+#if (ARDUINO_SAMD_VARIANT_COMPLIANCE < 10606)
56
+ #define digitalPinToInterrupt(P) (g_APinDescription[P].ulExtInt)
57
+#endif
58
59
/*
60
* digitalPinToTimer(..) is AVR-specific and is not defined for SAMD
0 commit comments