Make DISPLAY_CHARSET_HD44780 a single setting
This commit is contained in:
@@ -37,7 +37,8 @@
|
||||
#define DOGM_LCD_IMPLEMENTATION_H
|
||||
|
||||
/**
|
||||
* Implementation of the LCD display routines for a DOGM128 graphic display. These are common LCD 128x64 pixel graphic displays.
|
||||
* Implementation of the LCD display routines for a DOGM128 graphic display.
|
||||
* These are common LCD 128x64 pixel graphic displays.
|
||||
*/
|
||||
|
||||
#if ENABLED(ULTIPANEL)
|
||||
@@ -91,13 +92,13 @@
|
||||
#define FONT_MENU_NAME ISO10646_1_5x7
|
||||
#endif
|
||||
#else // SIMULATE_ROMFONT
|
||||
#if ENABLED(DISPLAY_CHARSET_HD44780_JAPAN)
|
||||
#if DISPLAY_CHARSET_HD44780 == JAPANESE
|
||||
#include "dogm_font_data_HD44780_J.h"
|
||||
#define FONT_MENU_NAME HD44780_J_5x7
|
||||
#elif ENABLED(DISPLAY_CHARSET_HD44780_WESTERN)
|
||||
#elif DISPLAY_CHARSET_HD44780 == WESTERN
|
||||
#include "dogm_font_data_HD44780_W.h"
|
||||
#define FONT_MENU_NAME HD44780_W_5x7
|
||||
#elif ENABLED(DISPLAY_CHARSET_HD44780_CYRILLIC)
|
||||
#elif DISPLAY_CHARSET_HD44780 == CYRILLIC
|
||||
#include "dogm_font_data_HD44780_C.h"
|
||||
#define FONT_MENU_NAME HD44780_C_5x7
|
||||
#else // fall-back
|
||||
|
Reference in New Issue
Block a user