Tevo Michelangelo configuration (#14577)

This commit is contained in:
thisiskeithb
2019-07-17 17:47:14 -07:00
committed by Scott Lahteine
parent c9aa68ef7a
commit 522df57a45
4 changed files with 4829 additions and 2 deletions

View File

@ -107,8 +107,8 @@ void MarlinUI::set_font(const MarlinFont font_nr) {
#if ENABLED(SHOW_CUSTOM_BOOTSCREEN)
FORCE_INLINE void draw_custom_bootscreen(const u8g_pgm_uint8_t * const bmp, const bool erase=true) {
constexpr u8g_uint_t left = (LCD_PIXEL_WIDTH - (CUSTOM_BOOTSCREEN_BMPWIDTH)) / 2,
top = (LCD_PIXEL_HEIGHT - (CUSTOM_BOOTSCREEN_BMPHEIGHT)) / 2;
constexpr u8g_uint_t left = u8g_uint_t((LCD_PIXEL_WIDTH - (CUSTOM_BOOTSCREEN_BMPWIDTH)) / 2),
top = u8g_uint_t((LCD_PIXEL_HEIGHT - (CUSTOM_BOOTSCREEN_BMPHEIGHT)) / 2);
#if ENABLED(CUSTOM_BOOTSCREEN_INVERTED)
constexpr u8g_uint_t right = left + CUSTOM_BOOTSCREEN_BMPWIDTH,
bottom = top + CUSTOM_BOOTSCREEN_BMPHEIGHT;