From 7dcd69a2dfadbcac4ab8ace4064274a6bb40d560 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Wed, 5 Jan 2022 17:20:50 +0100 Subject: [PATCH] Fix boot logo. Comment out unused fonts. --- usermods/usermod_v2_four_line_display_ALT/4LD_wled_fonts.c | 7 ++++--- .../usermod_v2_four_line_display_ALT.h | 7 +++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/usermods/usermod_v2_four_line_display_ALT/4LD_wled_fonts.c b/usermods/usermod_v2_four_line_display_ALT/4LD_wled_fonts.c index 6dbfb8fd..855bf4ab 100644 --- a/usermods/usermod_v2_four_line_display_ALT/4LD_wled_fonts.c +++ b/usermods/usermod_v2_four_line_display_ALT/4LD_wled_fonts.c @@ -8,6 +8,7 @@ BBX Build Mode: 3 * 1 = WLED_logo */ +/* const uint8_t u8x8_WLED_logo_4x12[388] U8X8_FONT_SECTION("u8x8_WLED_logo_4x12") = "\1\1\14\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\300\300\300\300\200\200\200\0\0\0\0\0\0\0\200\200\300\300\300\300\200\200\0\0\0\0\0\0" @@ -22,6 +23,7 @@ const uint8_t u8x8_WLED_logo_4x12[388] U8X8_FONT_SECTION("u8x8_WLED_logo_4x12") "\0\0\0\0\377\377\0\77\77\0\0\4\7\2\7\5\0\0\0\377\377\0\77\77\0\0\0\5\7\2\7\5" "\0\0\377\377\0\77\77\0\0\0\5\7\2\7\5\0\0\0\377\77\300\377\301\376\376\0\0\0\0\0\0\0" "\0\0\0"; +*/ /* Fontname: WLED_logo @@ -76,7 +78,6 @@ const uint8_t u8x8_4LineDisplay_WLED_icons_1x1[172] U8X8_FONT_SECTION("u8x8_4Lin "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\1\11\311" "\311\1\2\0\0~<<\30\30\0"; - /* Fontname: 4LineDisplay_WLED_icons_2x Copyright: @@ -125,6 +126,7 @@ const uint8_t u8x8_4LineDisplay_WLED_icons_2x2[356] U8X8_FONT_SECTION("u8x8_4Lin * 10 = star * 11 = heart */ +/* const uint8_t u8x8_4LineDisplay_WLED_icons_4x4[1412] U8X8_FONT_SECTION("u8x8_4LineDisplay_WLED_icons_4x4") = "\1\13\4\4\0\0\0\0`\360\360`\0\0\0\0\0\0\6\17\17\6\0\0\0\0\0\0`\360\360`" "\0\0\0\0\200\300\300\200\0\0\0\0\340\370\374\376\376\377\377\377\377\377\377\376\376\374\370\340\0\0\0\0" @@ -171,8 +173,7 @@ const uint8_t u8x8_4LineDisplay_WLED_icons_4x4[1412] U8X8_FONT_SECTION("u8x8_4Li "\377\377\377~\0\1\3\7\17\37\77\177\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\177\77\37\17" "\7\3\1\0\0\0\0\0\0\0\0\0\0\1\3\7\17\37\77\177\177\77\37\17\7\3\1\0\0\0\0\0" "\0\0\0"; - - +*/ /* Fontname: 4LineDisplay_WLED_icons_6x diff --git a/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h b/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h index 1f042bdc..74662f16 100644 --- a/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h +++ b/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h @@ -618,8 +618,11 @@ class FourLineDisplayUsermod : public Usermod { drawGlyph( 2, 1, 1, u8x8_WLED_logo_4x4, true); drawGlyph( 6, 1, 2, u8x8_WLED_logo_4x4, true); drawGlyph(10, 1, 3, u8x8_WLED_logo_4x4, true); - } else - drawGlyph( 2, 0, 1, u8x8_WLED_logo_4x12); + } else { + drawGlyph( 2, 0, 1, u8x8_WLED_logo_4x4); + drawGlyph( 6, 0, 2, u8x8_WLED_logo_4x4); + drawGlyph(10, 0, 3, u8x8_WLED_logo_4x4); + } overlayUntil = millis() + showHowLong; }