Skip to content

Commit 82566e9

Browse files
thinkyheadthisiskeithb
authored andcommitted
LCD_NEEDS_SERIAL_PORT
1 parent 87e7229 commit 82566e9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Marlin/src/inc/Conditionals_LCD.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,13 @@
484484
#endif
485485
#endif
486486

487+
// Serial Controllers require LCD_SERIAL_PORT
488+
#if ANY(HAS_DGUS_LCD, MALYAN_LCD, ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON, NEXTION_TFT)
489+
#define LCD_NEEDS_SERIAL_PORT 1
490+
#endif
491+
487492
// Extensible UI serial touch screens. (See src/lcd/extui)
488-
#if ANY(HAS_DGUS_LCD, MALYAN_LCD, TOUCH_UI_FTDI_EVE, ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON, ANYCUBIC_LCD_VYPER, NEXTION_TFT)
493+
#if EITHER(LCD_NEEDS_SERIAL_PORT, TOUCH_UI_FTDI_EVE)
489494
#define IS_EXTUI 1
490495
#define EXTENSIBLE_UI
491496
#endif

0 commit comments

Comments
 (0)