From 9de8c049451fd8104c6f884fb5195fc520b7a188 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 20 Jan 2018 12:00:59 -0600 Subject: [PATCH] Allow FIL_RUNOUT_PIN override on RAMPS-based boards --- Marlin/src/pins/pins_RAMPS.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Marlin/src/pins/pins_RAMPS.h b/Marlin/src/pins/pins_RAMPS.h index 86c7d8fbf3..2dbbca106a 100644 --- a/Marlin/src/pins/pins_RAMPS.h +++ b/Marlin/src/pins/pins_RAMPS.h @@ -257,7 +257,9 @@ #endif // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector -#define FIL_RUNOUT_PIN 4 +#ifndef FIL_RUNOUT_PIN + #define FIL_RUNOUT_PIN 4 +#endif #ifndef PS_ON_PIN #define PS_ON_PIN 12