Skip to content

Commit

Permalink
TFT is neither "graphical" nor "character" (MarlinFirmware#19297)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjasonsmith authored Sep 7, 2020
1 parent 4268d86 commit 5c31408
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/inc/Conditionals_post.h
Original file line number Diff line number Diff line change
Expand Up @@ -2612,14 +2612,14 @@
#ifndef LCD_WIDTH
#if HAS_GRAPHICAL_LCD
#define LCD_WIDTH 21
#elif HAS_CHARACTER_LCD
#else
#define LCD_WIDTH TERN(ULTIPANEL, 20, 16)
#endif
#endif
#ifndef LCD_HEIGHT
#if HAS_GRAPHICAL_LCD
#define LCD_HEIGHT 5
#elif HAS_CHARACTER_LCD
#else
#define LCD_HEIGHT TERN(ULTIPANEL, 4, 2)
#endif
#endif
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/lcd/lcdprint.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
#define SETCURSOR(col, row) lcd_moveto((col) * (MENU_FONT_WIDTH), ((row) + 1) * (MENU_FONT_HEIGHT))
#define SETCURSOR_RJ(len, row) lcd_moveto(LCD_PIXEL_WIDTH - (len) * (MENU_FONT_WIDTH), ((row) + 1) * (MENU_FONT_HEIGHT))

#elif HAS_CHARACTER_LCD
#else

#define _UxGT(a) a
typedef uint8_t lcd_uint_t;
Expand Down

0 comments on commit 5c31408

Please sign in to comment.