Merge remote-tracking branch 'keith/bitaxe_logo'

This commit is contained in:
Djuri 2024-12-18 01:27:05 +01:00
commit da25c7de90
3 changed files with 264 additions and 6 deletions

View file

@ -607,10 +607,12 @@ void renderIcon(const uint dispNum, const String &text, bool partial)
if (text.endsWith("rocket")) {
iconIndex = 1;
}
if (text.endsWith("lnbolt")) {
else if (text.endsWith("lnbolt")) {
iconIndex = 3;
}
else if (text.endsWith("bitaxe")) {
iconIndex = 4;
}
displays[dispNum].drawInvertedBitmap(0,0, epd_icons_allArray[iconIndex], 122, 250, getFgColor());