Browse Source

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

vanilla_fb_2.0.x
ellensp 3 years ago
committed by Scott Lahteine
parent
commit
d481bba327
  1. 8
      buildroot/share/PlatformIO/variants/MARLIN_F103Rx/variant.h

8
buildroot/share/PlatformIO/variants/MARLIN_F103Rx/variant.h

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

Loading…
Cancel
Save