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 7ae624f commit dc0adaeCopy full SHA for dc0adae
variants/trinket_m0/variant.h
@@ -132,7 +132,7 @@ static const uint8_t ATN = PIN_ATN;
132
#define PIN_SPI_MISO (3u) // PA09
133
#define PIN_SPI_MOSI (1u) // PA10
134
#define PIN_SPI_SCK (0u) // PA11
135
-#define PERIPH_SPI sercom3
+#define PERIPH_SPI sercom2
136
#define PAD_SPI_TX SPI_PAD_2_SCK_3
137
#define PAD_SPI_RX SERCOM_RX_PAD_1
138
@@ -151,7 +151,6 @@ static const uint8_t SCK = PIN_SPI_SCK ;
151
#define PERIPH_WIRE sercom2
152
#define WIRE_IT_HANDLER SERCOM2_Handler
153
154
-
155
static const uint8_t SDA = PIN_WIRE_SDA;
156
static const uint8_t SCL = PIN_WIRE_SCL;
157
0 commit comments