Fix for the PR #4553 (Save bytes for custom chars (Hitachi LCD))
This commit is contained in:
Scott Lahteine 2016-10-22 13:54:09 -05:00 committed by GitHub
commit 483082387c

View file

@ -224,6 +224,16 @@ static void lcd_set_custom_characters(
B10001, B10001,
B01110 B01110
}; };
static byte uplevel[8] = {
B00100,
B01110,
B11111,
B00100,
B11100,
B00000,
B00000,
B00000
}; //thanks joris
static byte feedrate[8] = { static byte feedrate[8] = {
B11100, B11100,
B10000, B10000,
@ -252,16 +262,6 @@ static void lcd_set_custom_characters(
lcd.createChar(LCD_STR_CLOCK[0], clock); lcd.createChar(LCD_STR_CLOCK[0], clock);
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
static byte uplevel[8] = {
B00100,
B01110,
B11111,
B00100,
B11100,
B00000,
B00000,
B00000
}; //thanks joris
static byte refresh[8] = { static byte refresh[8] = {
B00000, B00000,
B00110, B00110,
@ -330,6 +330,8 @@ static void lcd_set_custom_characters(
lcd.createChar(LCD_STR_FOLDER[0], folder); lcd.createChar(LCD_STR_FOLDER[0], folder);
#endif #endif
#else
lcd.createChar(LCD_STR_UPLEVEL[0], uplevel);
#endif #endif
} }