Skip to content

Commit 351c9e8

Browse files
sandeepmistrycmaglie
authored andcommitted
Port SDA and SCL symbols
1 parent 58761d9 commit 351c9e8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

variants/arduino_zero/variant.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
151151
#define PERIPH_WIRE sercom3
152152
#define WIRE_IT_HANDLER SERCOM3_Handler
153153

154+
static const uint8_t SDA = PIN_WIRE_SDA;
155+
static const uint8_t SCL = PIN_WIRE_SCL;
156+
154157
/*
155158
* USB
156159
*/

variants/mkr1000/variant.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ static const uint8_t SCK1 = PIN_SPI1_SCK;
126126
#define PIN_WIRE_SCL (12u)
127127
#define PERIPH_WIRE sercom0
128128
#define WIRE_IT_HANDLER SERCOM0_Handler
129+
static const uint8_t SDA = PIN_WIRE_SDA;
130+
static const uint8_t SCL = PIN_WIRE_SCL;
129131

130132
// USB
131133
// ---

0 commit comments

Comments
 (0)