Special override of LCD_WIDTH
This commit is contained in:
parent
e6c32b3a14
commit
704d33c374
@ -1837,7 +1837,7 @@
|
|||||||
#if ENABLED(ULTIMAKERCONTROLLER) || ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) || ENABLED(G3D_PANEL) || ENABLED(MKS_MINI_12864)
|
#if ENABLED(ULTIMAKERCONTROLLER) || ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) || ENABLED(G3D_PANEL) || ENABLED(MKS_MINI_12864)
|
||||||
#define SDSUPPORT // Force SD Card support on for these displays
|
#define SDSUPPORT // Force SD Card support on for these displays
|
||||||
#elif ENABLED(ULTRA_LCD) && ENABLED(DOGLCD) // No panel, just graphical LCD?
|
#elif ENABLED(ULTRA_LCD) && ENABLED(DOGLCD) // No panel, just graphical LCD?
|
||||||
#define LCD_WIDTH 20 // Default is 22. For this Geeetech use 20
|
#define LCD_WIDTH_OVERRIDE 20 // Default is 22. For this Geeetech use 20
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // CONFIGURATION_H
|
#endif // CONFIGURATION_H
|
||||||
|
@ -287,8 +287,12 @@
|
|||||||
|
|
||||||
#if ENABLED(DOGLCD) // Change number of lines to match the DOG graphic display
|
#if ENABLED(DOGLCD) // Change number of lines to match the DOG graphic display
|
||||||
#ifndef LCD_WIDTH
|
#ifndef LCD_WIDTH
|
||||||
|
#ifdef LCD_WIDTH_OVERRIDE
|
||||||
|
#define LCD_WIDTH LCD_WIDTH_OVERRIDE
|
||||||
|
#else
|
||||||
#define LCD_WIDTH 22
|
#define LCD_WIDTH 22
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifndef LCD_HEIGHT
|
#ifndef LCD_HEIGHT
|
||||||
#define LCD_HEIGHT 5
|
#define LCD_HEIGHT 5
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user