Skip to content

Commit 70c5f9c

Browse files
committed
DM: fix feather m4 variant
1 parent bdcc18d commit 70c5f9c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

variants/feather_m4/variant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const PinDescription g_APinDescription[]=
5555
{ PORTB, 8, PIO_ANALOG, PIN_ATTR_ANALOG, ADC_Channel2, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_8 },
5656
{ PORTB, 9, PIO_ANALOG, PIN_ATTR_ANALOG, ADC_Channel3, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_9 },
5757
{ PORTA, 6, PIO_ANALOG, PIN_ATTR_ANALOG, ADC_Channel6, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_6 },
58-
{ PORTA, 9, PIO_ANALOG, PIN_ATTR_ANALOG, ADC_Channel9, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_9 },
58+
{ PORTA, 10, PIO_ANALOG, PIN_ATTR_ANALOG, ADC_Channel9, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_10 },
5959

6060
// 20..21 I2C pins (SDA/SCL)
6161
// ----------------------

variants/feather_m4/variant.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ static const uint8_t SCL = PIN_WIRE_SCL;
194194
#define PIN_I2S_FS (PIN_SPI_MOSI)
195195

196196
//QSPI Pins
197-
#define PIN_QSPI_SCK (40u)
198-
#define PIN_QSPI_CS (41u)
199-
#define PIN_QSPI_IO0 (42u)
200-
#define PIN_QSPI_IO1 (43u)
197+
#define PIN_QSPI_SCK (37u)
198+
#define PIN_QSPI_CS (38u)
199+
#define PIN_QSPI_IO0 (39u)
200+
#define PIN_QSPI_IO1 (40u)
201201

202202
#ifdef __cplusplus
203203
}

0 commit comments

Comments
 (0)