Browse Source

Further fix of LCD_PROGRESS_BAR (#9783)

pull/1/head
Zachary Hill 7 years ago
committed by Scott Lahteine
parent
commit
4d588b2d6a
  1. 68
      Marlin/src/lcd/ultralcd_impl_HD44780.h

68
Marlin/src/lcd/ultralcd_impl_HD44780.h

@ -340,6 +340,40 @@ static void lcd_set_custom_characters(
B00000
};
#if ENABLED(LCD_PROGRESS_BAR)
// CHARSET_INFO
const static PROGMEM byte progress[3][8] = { {
B00000,
B10000,
B10000,
B10000,
B10000,
B10000,
B10000,
B00000
}, {
B00000,
B10100,
B10100,
B10100,
B10100,
B10100,
B10100,
B00000
}, {
B00000,
B10101,
B10101,
B10101,
B10101,
B10101,
B10101,
B00000
} };
#endif // LCD_PROGRESS_BAR
#if ENABLED(SDSUPPORT)
// CHARSET_MENU
@ -364,40 +398,6 @@ static void lcd_set_custom_characters(
B00000
};
#if ENABLED(LCD_PROGRESS_BAR)
// CHARSET_INFO
const static PROGMEM byte progress[3][8] = { {
B00000,
B10000,
B10000,
B10000,
B10000,
B10000,
B10000,
B00000
}, {
B00000,
B10100,
B10100,
B10100,
B10100,
B10100,
B10100,
B00000
}, {
B00000,
B10101,
B10101,
B10101,
B10101,
B10101,
B10101,
B00000
} };
#endif // LCD_PROGRESS_BAR
#endif // SDSUPPORT
#if ENABLED(SHOW_BOOTSCREEN) || ENABLED(LCD_PROGRESS_BAR)

Loading…
Cancel
Save