From 07afe69cee5afbf6503fb76c4e70cf00c8093a19 Mon Sep 17 00:00:00 2001
From: InsanityAutomation
 <38436470+InsanityAutomation@users.noreply.github.com>
Date: Thu, 16 May 2019 21:33:00 -0400
Subject: [PATCH] Fix some bad AZTEEG_X5_MINI pins (#14011)

---
 Marlin/src/pins/pins_AZTEEG_X5_MINI.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Marlin/src/pins/pins_AZTEEG_X5_MINI.h b/Marlin/src/pins/pins_AZTEEG_X5_MINI.h
index f3ce5b4179..0f3e454371 100644
--- a/Marlin/src/pins/pins_AZTEEG_X5_MINI.h
+++ b/Marlin/src/pins/pins_AZTEEG_X5_MINI.h
@@ -50,8 +50,12 @@
 #define Y_STOP_PIN         P1_26
 #define Z_STOP_PIN         P1_28
 
+#ifndef FIL_RUNOUT_PIN
+  #define FIL_RUNOUT_PIN   P2_04
+#endif
+
 #ifndef FILWIDTH_PIN
-  #define FILWIDTH_PIN     P2_04
+  #define FILWIDTH_PIN         2   // Analog Input (P0_25)
 #endif
 
 //
-- 
GitLab