瀏覽代碼

Enable SD Card on RepRap Display and RADDS (#12446)

* Enable SD Card on RepRap Display and RADDS

Define the necessary pins in `pins_RADDS.h` (copied from the `RADDS_DISPLAY` section) for the use of the SD card slot on RRD.
Ph0non 6 年之前
父節點
當前提交
984c4ba8c7
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7
    2
      Marlin/src/pins/pins_RADDS.h

+ 7
- 2
Marlin/src/pins/pins_RADDS.h 查看文件

@@ -193,7 +193,6 @@
193 193
 //
194 194
 // Misc. Functions
195 195
 //
196
-#define SDSS                4
197 196
 #define SD_DETECT_PIN      14
198 197
 #define PS_ON_PIN          40   // SERVO3_PIN
199 198
 
@@ -227,7 +226,6 @@
227 226
 
228 227
     #define BTN_BACK        71
229 228
 
230
-    #undef SDSS
231 229
     #define SDSS            10
232 230
     #define SD_DETECT_PIN   14
233 231
 
@@ -246,6 +244,9 @@
246 244
     #define BTN_EN2         52
247 245
     #define BTN_ENC         48
248 246
 
247
+    #define SDSS            10
248
+    #define SD_DETECT_PIN   14
249
+
249 250
   #elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
250 251
 
251 252
     #define BTN_EN1         50
@@ -268,3 +269,7 @@
268 269
   #endif // SPARK_FULL_GRAPHICS
269 270
 
270 271
 #endif // ULTRA_LCD
272
+
273
+#ifndef SDSS
274
+  #define SDSS              4
275
+#endif

Loading…
取消
儲存