From d62f4df0b7bfa8f9ca99f2ea5face12780b6a75f Mon Sep 17 00:00:00 2001
From: Roxy-3D <Roxy-3D@users.noreply.github.com>
Date: Mon, 3 Sep 2018 09:56:25 -0500
Subject: [PATCH] Disable LCD Pins used by new Max7219 hook up if in that mode

---
 Marlin/src/pins/pins_FORMBOT.h | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Marlin/src/pins/pins_FORMBOT.h b/Marlin/src/pins/pins_FORMBOT.h
index bcc02e67b8..8b7133fea6 100644
--- a/Marlin/src/pins/pins_FORMBOT.h
+++ b/Marlin/src/pins/pins_FORMBOT.h
@@ -154,7 +154,9 @@
 // Misc. Functions
 //
 #define SDSS               53
-#define LED_PIN            13
+#ifndef ROXYs_TRex
+  #define LED_PIN          13
+#endi
 
 // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
 #define FILWIDTH_PIN        5   // Analog Input
@@ -175,10 +177,12 @@
   #define LCD_PINS_D5      25
   #define LCD_PINS_D6      27
   #define LCD_PINS_D7      29
-  #define BEEPER_PIN       37
   #define BTN_EN1          31
   #define BTN_EN2          33
   #define BTN_ENC          35
   #define SD_DETECT_PIN    49
-  #define KILL_PIN         41
+  #ifndef ROXYs_TRex
+    #define KILL_PIN       41
+    #define BEEPER_PIN     37
+  #endif
 #endif
-- 
GitLab