diff --git a/bitmaps.c b/bitmaps.c index 622139e..a84009a 100644 --- a/bitmaps.c +++ b/bitmaps.c @@ -204,6 +204,17 @@ const uint8_t BITMAP_compand[6] = 0b00100100 }; +const uint8_t BITMAP_Ready[7] = +{ + 0b00001000, + 0b00010000, + 0b00100000, + 0b00010000, + 0b00001000, + 0b00000100, + 0b00000010, +}; + #ifndef ENABLE_CUSTOM_MENU_LAYOUT const uint8_t BITMAP_CurrentIndicator[8] = { 0xFF, diff --git a/bitmaps.h b/bitmaps.h index 9c8794b..c8f4181 100644 --- a/bitmaps.h +++ b/bitmaps.h @@ -22,6 +22,7 @@ extern const uint8_t gFontHold[2][5]; extern const uint8_t BITMAP_BatteryLevel[2]; extern const uint8_t BITMAP_BatteryLevel1[17]; extern const uint8_t BITMAP_USB_C[9]; +extern const uint8_t BITMAP_Ready[7]; #ifdef ENABLE_VOX extern const uint8_t gFontVox[2][6]; diff --git a/font.c b/font.c index 8d1192b..67252dc 100644 --- a/font.c +++ b/font.c @@ -483,7 +483,7 @@ const uint8_t gFontSmall[95-1][6] = }; #endif -#ifdef ENABLE_SPECTRUM +//#ifdef ENABLE_SPECTRUM const uint8_t gFont3x5[][3] = { {0x00, 0x00, 0x00}, // 32 - space @@ -651,4 +651,4 @@ const uint8_t gFontSmall[95-1][6] = // {0x03, 0x0b, 0x18}, // 190 - threequarters // {0x18, 0x15, 0x10}, // 191 - questiondown }; -#endif +//#endif diff --git a/ui/welcome.c b/ui/welcome.c index 5e8d89b..d40e305 100644 --- a/ui/welcome.c +++ b/ui/welcome.c @@ -26,6 +26,7 @@ #include "ui/welcome.h" #include "ui/status.h" #include "version.h" +#include "bitmaps.h" void UI_DisplayReleaseKeys(void) { @@ -108,8 +109,20 @@ void UI_DisplayWelcome(void) gFrameBuffer[4][i] ^= 0xFF; } - UI_PrintStringSmallNormal(Based, 0, 127, 5); - UI_PrintStringSmallNormal(Credits, 0, 127, 6); + #ifdef ENABLE_SPECTRUM + #ifdef ENABLE_FMRADIO + UI_PrintStringSmallNormal(Based, 0, 127, 5); + UI_PrintStringSmallNormal(Credits, 0, 127, 6); + #else + UI_PrintStringSmallNormal("Bandscope ", 0, 127, 5); + memcpy(gFrameBuffer[5] + 95, BITMAP_Ready, sizeof(BITMAP_Ready)); + UI_PrintStringSmallNormal("Broadcast ", 0, 127, 6); + #endif + #else + UI_PrintStringSmallNormal("Bandscope ", 0, 127, 5); + UI_PrintStringSmallNormal("Broadcast ", 0, 127, 6); + memcpy(gFrameBuffer[6] + 95, BITMAP_Ready, sizeof(BITMAP_Ready)); + #endif #else UI_PrintStringSmallNormal(Version, 0, 127, 6); #endif