Skip to content

Commit 49f0d67

Browse files
committed
Bump ARDUINO_SAMD_VARIANT_COMPLIANCE to 100606
1 parent 90bf3d5 commit 49f0d67

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

VARIANT_COMPLIANCE_CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SAMD CORE 1.6.5
1+
SAMD CORE 1.6.6
22

33
* digitalPinToInterrupt #define moved to Arduino.h, variant.h must no longer define it
44

cores/arduino/Arduino.h

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

115115
#define bit(b) (1UL << (b))
116116

117-
#if (ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10605)
117+
#if (ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10606)
118118
// Interrupts
119119
#define digitalPinToInterrupt(P) ( P )
120120
#endif

cores/arduino/WInterrupts.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void attachInterrupt(uint32_t pin, voidFuncPtr callback, uint32_t mode)
5757
uint32_t config;
5858
uint32_t pos;
5959

60-
#if ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10605
60+
#if ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10606
6161
EExt_Interrupts in = g_APinDescription[pin].ulExtInt;
6262
#else
6363
EExt_Interrupts in = digitalPinToInterrupt(pin);
@@ -120,7 +120,7 @@ void attachInterrupt(uint32_t pin, voidFuncPtr callback, uint32_t mode)
120120
*/
121121
void detachInterrupt(uint32_t pin)
122122
{
123-
#if (ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10605)
123+
#if (ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10606)
124124
EExt_Interrupts in = g_APinDescription[pin].ulExtInt;
125125
#else
126126
EExt_Interrupts in = digitalPinToInterrupt(pin);

variants/arduino_zero/variant.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#ifndef _VARIANT_ARDUINO_ZERO_
2020
#define _VARIANT_ARDUINO_ZERO_
2121

22-
// The definitions here needs a SAMD core >=1.6.5
23-
#define ARDUINO_SAMD_VARIANT_COMPLIANCE 10605
22+
// The definitions here needs a SAMD core >=1.6.6
23+
#define ARDUINO_SAMD_VARIANT_COMPLIANCE 10606
2424

2525
/*----------------------------------------------------------------------------
2626
* Definitions

0 commit comments

Comments
 (0)