瀏覽代碼

SD detect override for older Creality3D RAMPS (#17469)

InsanityAutomation 5 年之前
父節點
當前提交
d353d67a34
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h

+ 3
- 1
Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h 查看文件

@@ -39,7 +39,9 @@
39 39
   #define FIL_RUNOUT2_PIN                     15  // Creality CR-X can use dual runout sensors
40 40
 #endif
41 41
 
42
-#define SD_DETECT_PIN                         49  // Always define onboard SD detect
42
+#ifndef SD_DETECT_PIN
43
+  #define SD_DETECT_PIN                       49  // Always define onboard SD detect
44
+#endif
43 45
 
44 46
 #define PS_ON_PIN                             40  // Used by CR2020 Industrial series
45 47
 

Loading…
取消
儲存