From 18458ec42ba79818c0095acddd03d65d6541367c Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 19 Feb 2019 14:16:45 -0600 Subject: [PATCH] Error in Smoothieboard for unsupported display --- Marlin/src/pins/pins_SMOOTHIEBOARD.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Marlin/src/pins/pins_SMOOTHIEBOARD.h b/Marlin/src/pins/pins_SMOOTHIEBOARD.h index ca1184321..84242ce4f 100644 --- a/Marlin/src/pins/pins_SMOOTHIEBOARD.h +++ b/Marlin/src/pins/pins_SMOOTHIEBOARD.h @@ -93,9 +93,10 @@ #define FAN1_PIN P2_04 // -// Display +// LCD / Controller // #if ENABLED(VIKI2) || ENABLED(miniVIKI) + #define BEEPER_PIN P1_31 //#define DOGLCD_A0 P2_06 #define DOGLCD_CS P0_16 @@ -109,4 +110,9 @@ #define STAT_LED_RED_PIN P1_19 #define STAT_LED_BLUE_PIN P1_20 + +#elif HAS_SPI_LCD + + #error "Marlin's Smoothieboard support cannot drive your LCD." + #endif