瀏覽代碼

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

ellensp 2 年之前
父節點
當前提交
5528927d71
No account linked to committer's email address
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      buildroot/share/PlatformIO/variants/MARLIN_F103Rx/variant.h

+ 4
- 4
buildroot/share/PlatformIO/variants/MARLIN_F103Rx/variant.h 查看文件

@@ -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…
取消
儲存