Browse Source

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

ellensp 3 years ago
parent
commit
5528927d71
No account linked to committer's email address
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      buildroot/share/PlatformIO/variants/MARLIN_F103Rx/variant.h

+ 4
- 4
buildroot/share/PlatformIO/variants/MARLIN_F103Rx/variant.h View File

105
 // SPI Definitions
105
 // SPI Definitions
106
 #if DEFAULT_SPI == 3
106
 #if DEFAULT_SPI == 3
107
   #define PIN_SPI_SS            PA15
107
   #define PIN_SPI_SS            PA15
108
-  #define PIN_SPI_MOSI          PB3
108
+  #define PIN_SPI_MOSI          PB5
109
   #define PIN_SPI_MISO          PB4
109
   #define PIN_SPI_MISO          PB4
110
-  #define PIN_SPI_SCK           PB5
110
+  #define PIN_SPI_SCK           PB3
111
 #elif DEFAULT_SPI == 2
111
 #elif DEFAULT_SPI == 2
112
   #define PIN_SPI_SS            PB12
112
   #define PIN_SPI_SS            PB12
113
-  #define PIN_SPI_MOSI          PB13
113
+  #define PIN_SPI_MOSI          PB15
114
   #define PIN_SPI_MISO          PB14
114
   #define PIN_SPI_MISO          PB14
115
-  #define PIN_SPI_SCK           PB15
115
+  #define PIN_SPI_SCK           PB13
116
 #else
116
 #else
117
   #define PIN_SPI_SS            PA4
117
   #define PIN_SPI_SS            PA4
118
   #define PIN_SPI_MOSI          PA7
118
   #define PIN_SPI_MOSI          PA7

Loading…
Cancel
Save