1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 22:35:21 +00:00

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

This commit is contained in:
ellensp 2021-12-12 11:06:45 +13:00 committed by GitHub
parent aebf70cdae
commit 5528927d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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