🐛 Fix MARLIN_F103Rx variant SCK / MOSI pins (#23282)

This commit is contained in:
ellensp 2021-12-12 11:06:45 +13:00 committed by Scott Lahteine
parent 32b08ae04c
commit d481bba327

View file

@ -105,14 +105,14 @@ extern "C" {
// SPI Definitions // SPI Definitions
#if DEFAULT_SPI == 3 #if DEFAULT_SPI == 3
#define PIN_SPI_SS PA15 #define PIN_SPI_SS PA15
#define PIN_SPI_MOSI PB3 #define PIN_SPI_MOSI PB5
#define PIN_SPI_MISO PB4 #define PIN_SPI_MISO PB4
#define PIN_SPI_SCK PB5 #define PIN_SPI_SCK PB3
#elif DEFAULT_SPI == 2 #elif DEFAULT_SPI == 2
#define PIN_SPI_SS PB12 #define PIN_SPI_SS PB12
#define PIN_SPI_MOSI PB13 #define PIN_SPI_MOSI PB15
#define PIN_SPI_MISO PB14 #define PIN_SPI_MISO PB14
#define PIN_SPI_SCK PB15 #define PIN_SPI_SCK PB13
#else #else
#define PIN_SPI_SS PA4 #define PIN_SPI_SS PA4
#define PIN_SPI_MOSI PA7 #define PIN_SPI_MOSI PA7