Browse Source

Error in Smoothieboard for unsupported display

Scott Lahteine 6 years ago
parent
commit
18458ec42b
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      Marlin/src/pins/pins_SMOOTHIEBOARD.h

+ 7
- 1
Marlin/src/pins/pins_SMOOTHIEBOARD.h View File

93
 #define FAN1_PIN           P2_04
93
 #define FAN1_PIN           P2_04
94
 
94
 
95
 //
95
 //
96
-// Display
96
+// LCD / Controller
97
 //
97
 //
98
 #if ENABLED(VIKI2) || ENABLED(miniVIKI)
98
 #if ENABLED(VIKI2) || ENABLED(miniVIKI)
99
+
99
   #define BEEPER_PIN       P1_31
100
   #define BEEPER_PIN       P1_31
100
   //#define DOGLCD_A0      P2_06
101
   //#define DOGLCD_A0      P2_06
101
   #define DOGLCD_CS        P0_16
102
   #define DOGLCD_CS        P0_16
109
 
110
 
110
   #define STAT_LED_RED_PIN  P1_19
111
   #define STAT_LED_RED_PIN  P1_19
111
   #define STAT_LED_BLUE_PIN P1_20
112
   #define STAT_LED_BLUE_PIN P1_20
113
+
114
+#elif HAS_SPI_LCD
115
+
116
+  #error "Marlin's Smoothieboard support cannot drive your LCD."
117
+
112
 #endif
118
 #endif

Loading…
Cancel
Save