From d6c177008f465a6369415015bac8d8cfe5101d41 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <github@thinkyhead.com>
Date: Sat, 27 Jun 2020 22:53:42 -0500
Subject: [PATCH] SKR 1.4 alert for unsupported LCD

---
 Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h b/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
index e2801ebfa6..78da8e842f 100644
--- a/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
+++ b/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
@@ -250,7 +250,8 @@
     #define LCD_PINS_ENABLE                P1_23
     #define LCD_PINS_D4                    P1_21
 
-  #else
+  #elif HAS_GRAPHICAL_LCD
+
     #define BTN_ENC                        P0_28  // (58) open-drain
     #define LCD_PINS_RS                    P1_19
 
@@ -311,6 +312,10 @@
 
     #endif // !FYSETC_MINI_12864
 
+  #elif HAS_CHARACTER_LCD
+
+    #error "Character LCD not yet supported for SKR 1.4."
+
   #endif
 
 #endif // HAS_SPI_LCD