Procházet zdrojové kódy

SD detect override for older Creality3D RAMPS (#17469)

InsanityAutomation před 5 roky
rodič
revize
d353d67a34
No account linked to committer's email address
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3
    1
      Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h

+ 3
- 1
Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h Zobrazit soubor

39
   #define FIL_RUNOUT2_PIN                     15  // Creality CR-X can use dual runout sensors
39
   #define FIL_RUNOUT2_PIN                     15  // Creality CR-X can use dual runout sensors
40
 #endif
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
 #define PS_ON_PIN                             40  // Used by CR2020 Industrial series
46
 #define PS_ON_PIN                             40  // Used by CR2020 Industrial series
45
 
47
 

Loading…
Zrušit
Uložit