|
|
|
|
58
|
|
58
|
|
59
|
#if HAS_GRAPHICAL_LCD
|
59
|
#if HAS_GRAPHICAL_LCD
|
60
|
#define SETCURSOR(col, row) lcd_moveto(col * (MENU_FONT_WIDTH), (row + 1) * (MENU_FONT_HEIGHT))
|
60
|
#define SETCURSOR(col, row) lcd_moveto(col * (MENU_FONT_WIDTH), (row + 1) * (MENU_FONT_HEIGHT))
|
61
|
- #define SETCURSOR_RJ(len, row) lcd_moveto(LCD_PIXEL_WIDTH - len * (MENU_FONT_WIDTH), (row + 1) * (MENU_FONT_HEIGHT))
|
|
|
|
|
61
|
+ #define SETCURSOR_RJ(len, row) lcd_moveto(LCD_PIXEL_WIDTH - (len) * (MENU_FONT_WIDTH), (row + 1) * (MENU_FONT_HEIGHT))
|
62
|
#define LCDPRINT(p) u8g.print(p)
|
62
|
#define LCDPRINT(p) u8g.print(p)
|
63
|
#define LCDWRITE(c) u8g.print(c)
|
63
|
#define LCDWRITE(c) u8g.print(c)
|
64
|
#else
|
64
|
#else
|
65
|
#define SETCURSOR(col, row) lcd_moveto(col, row)
|
65
|
#define SETCURSOR(col, row) lcd_moveto(col, row)
|
66
|
- #define SETCURSOR_RJ(len, row) lcd_moveto(LCD_WIDTH - len, row)
|
|
|
|
|
66
|
+ #define SETCURSOR_RJ(len, row) lcd_moveto(LCD_WIDTH - (len), row)
|
67
|
#define LCDPRINT(p) lcd_put_u8str(p)
|
67
|
#define LCDPRINT(p) lcd_put_u8str(p)
|
68
|
#define LCDWRITE(c) lcd_put_wchar(c)
|
68
|
#define LCDWRITE(c) lcd_put_wchar(c)
|
69
|
#endif
|
69
|
#endif
|