Browse Source

SKR 1.4 alert for unsupported LCD

Scott Lahteine 5 years ago
parent
commit
d6c177008f
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

+ 6
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h View File

250
     #define LCD_PINS_ENABLE                P1_23
250
     #define LCD_PINS_ENABLE                P1_23
251
     #define LCD_PINS_D4                    P1_21
251
     #define LCD_PINS_D4                    P1_21
252
 
252
 
253
-  #else
253
+  #elif HAS_GRAPHICAL_LCD
254
+
254
     #define BTN_ENC                        P0_28  // (58) open-drain
255
     #define BTN_ENC                        P0_28  // (58) open-drain
255
     #define LCD_PINS_RS                    P1_19
256
     #define LCD_PINS_RS                    P1_19
256
 
257
 
311
 
312
 
312
     #endif // !FYSETC_MINI_12864
313
     #endif // !FYSETC_MINI_12864
313
 
314
 
315
+  #elif HAS_CHARACTER_LCD
316
+
317
+    #error "Character LCD not yet supported for SKR 1.4."
318
+
314
   #endif
319
   #endif
315
 
320
 
316
 #endif // HAS_SPI_LCD
321
 #endif // HAS_SPI_LCD

Loading…
Cancel
Save