From dbcf5e34a0cde4d14ca8bfebc1ac028c688692e8 Mon Sep 17 00:00:00 2001 From: InsanityAutomation Date: Sat, 17 Aug 2019 22:08:56 -0400 Subject: [PATCH 1/3] Update pins_RAMPS_CREALITY.h --- Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h b/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h index 2e5471a5bb79..17885f8b1f4f 100644 --- a/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h +++ b/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h @@ -35,6 +35,7 @@ #define MOSFET_D_PIN 7 #define FIL_RUNOUT_PIN 2 +#define SD_DETECT_PIN 49 //always define it here, even without an LCD as its onboard #include "pins_RAMPS.h" From e7ce9672286d12bd08e6e10930c0fa9146ef4b38 Mon Sep 17 00:00:00 2001 From: InsanityAutomation Date: Sun, 18 Aug 2019 23:23:48 -0400 Subject: [PATCH 2/3] Add CRX Runout 2 --- Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h b/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h index 17885f8b1f4f..f58fe2ca6367 100644 --- a/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h +++ b/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h @@ -35,6 +35,10 @@ #define MOSFET_D_PIN 7 #define FIL_RUNOUT_PIN 2 +#if NUM_RUNOUT_SENSORS > 1 + #define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors +#endif + #define SD_DETECT_PIN 49 //always define it here, even without an LCD as its onboard #include "pins_RAMPS.h" From 0160902661258539eb9845b2d0e4cbb626567abb Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 20 Aug 2019 03:42:14 -0500 Subject: [PATCH 3/3] Update pins_RAMPS_CREALITY.h --- Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h b/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h index f58fe2ca6367..c1196459e9c9 100644 --- a/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h +++ b/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h @@ -39,7 +39,7 @@ #define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors #endif -#define SD_DETECT_PIN 49 //always define it here, even without an LCD as its onboard +#define SD_DETECT_PIN 49 // Always define onboard SD detect #include "pins_RAMPS.h"