From df09532a9c95b1e61b76aaf42f3283f1bec5afea Mon Sep 17 00:00:00 2001
From: Gustavo Alvarez <462213+sl1pkn07@users.noreply.github.com>
Date: Sat, 12 Oct 2019 22:02:20 +0200
Subject: [PATCH] Reassign FIL_RUNOUT_PIN for ReARM boards (#15519)

Reassign FIL_RUNOUT_PIN from P1_18 to P1_19

P1_18 is connected to a buffer in order to output 5V making it unsuitable for input.
---
 Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h b/Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
index bc8037da07..92dbf7b4b2 100644
--- a/Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
+++ b/Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
@@ -241,9 +241,9 @@
 //
 #define LED_PIN            P4_28   // (13)
 
-// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
+// define digital pin 5 for the filament runout sensor. Use the RAMPS 1.4 digital input 5 on the servos connector
 #ifndef FIL_RUNOUT_PIN
-  #define FIL_RUNOUT_PIN   P1_18   // (4)
+  #define FIL_RUNOUT_PIN   P1_19   // (5)
 #endif
 
 #define PS_ON_PIN          P2_12   // (12)
-- 
GitLab