Browse Source

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

ellensp 2 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,14 +105,14 @@ extern "C" {
105 105
 // SPI Definitions
106 106
 #if DEFAULT_SPI == 3
107 107
   #define PIN_SPI_SS            PA15
108
-  #define PIN_SPI_MOSI          PB3
108
+  #define PIN_SPI_MOSI          PB5
109 109
   #define PIN_SPI_MISO          PB4
110
-  #define PIN_SPI_SCK           PB5
110
+  #define PIN_SPI_SCK           PB3
111 111
 #elif DEFAULT_SPI == 2
112 112
   #define PIN_SPI_SS            PB12
113
-  #define PIN_SPI_MOSI          PB13
113
+  #define PIN_SPI_MOSI          PB15
114 114
   #define PIN_SPI_MISO          PB14
115
-  #define PIN_SPI_SCK           PB15
115
+  #define PIN_SPI_SCK           PB13
116 116
 #else
117 117
   #define PIN_SPI_SS            PA4
118 118
   #define PIN_SPI_MOSI          PA7

Loading…
Cancel
Save