LCD conditionals followup (#19766)

This commit is contained in:
Jason Smith 2020-10-16 15:04:10 -07:00 committed by GitHub
parent 418b3e5ee2
commit 050ba0e0a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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