Fix boot logo.

Comment out unused fonts.
This commit is contained in:
Blaz Kristan 2022-01-05 17:20:50 +01:00
parent 002b2d0134
commit 7dcd69a2df
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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;
}