LCD conditionals followup (#19766)

This commit is contained in:
Jason Smith 2020-10-16 15:04:10 -07:00 committed by Scott Lahteine
parent 3becc3ad63
commit cedc5d340f

View File

@ -2614,14 +2614,14 @@
#if HAS_MARLINUI_U8GLIB #if HAS_MARLINUI_U8GLIB
#define LCD_WIDTH 21 #define LCD_WIDTH 21
#else #else
#define LCD_WIDTH TERN(ULTIPANEL, 20, 16) #define LCD_WIDTH TERN(IS_ULTIPANEL, 20, 16)
#endif #endif
#endif #endif
#ifndef LCD_HEIGHT #ifndef LCD_HEIGHT
#if HAS_MARLINUI_U8GLIB #if HAS_MARLINUI_U8GLIB
#define LCD_HEIGHT 5 #define LCD_HEIGHT 5
#else #else
#define LCD_HEIGHT TERN(ULTIPANEL, 4, 2) #define LCD_HEIGHT TERN(IS_ULTIPANEL, 4, 2)
#endif #endif
#endif #endif
#endif #endif