mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Welcome refactoring
This commit is contained in:
1 parent
335e1b5501
commit
ed640588c5
2 files changed
+7
-5
No files matched your search
+7
-4
@@ -183,12 +183,15 @@ void UI_DisplayWelcome(void)
|
|||||||
#ifdef ENABLE_FEAT_F4HWN
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
UI_PrintStringSmallNormal(Version, 0, 128, 4);
|
UI_PrintStringSmallNormal(Version, 0, 128, 4);
|
||||||
|
|
||||||
UI_DrawLineBuffer(gFrameBuffer, 0, 31, 127, 31, 1); // Be ware, status zone = 8 lines, the rest = 56 ->total 64
|
UI_DrawLineBuffer(gFrameBuffer, 0, 35, 18, 35, 1);
|
||||||
|
gFrameBuffer[4][19] ^= 0x7F;
|
||||||
for (uint8_t i = 18; i < 110; i++)
|
for (uint8_t x = 20; x < 108; x++)
|
||||||
{
|
{
|
||||||
gFrameBuffer[4][i] ^= 0xFF;
|
gFrameBuffer[4][x] ^= 0xFF;
|
||||||
|
gFrameBuffer[3][x] ^= 0x80;
|
||||||
}
|
}
|
||||||
|
gFrameBuffer[4][108] ^= 0x7F;
|
||||||
|
UI_DrawLineBuffer(gFrameBuffer, 109, 35, 127, 35, 1);
|
||||||
|
|
||||||
#ifdef ENABLE_FEAT_F4HWN_MEM
|
#ifdef ENABLE_FEAT_F4HWN_MEM
|
||||||
uint32_t ram_used = 0;
|
uint32_t ram_used = 0;
|
||||||
|
|||||||
@@ -189,7 +189,6 @@
|
|||||||
"ENABLE_FEAT_F4HWN_RESCUE_OPS": true,
|
"ENABLE_FEAT_F4HWN_RESCUE_OPS": true,
|
||||||
"ENABLE_FEAT_F4HWN_VOL": true,
|
"ENABLE_FEAT_F4HWN_VOL": true,
|
||||||
"ENABLE_FEAT_F4HWN_AUDIO": true,
|
"ENABLE_FEAT_F4HWN_AUDIO": true,
|
||||||
"ENABLE_FEAT_F4HWN_MEM": true,
|
|
||||||
"ENABLE_SWD": true,
|
"ENABLE_SWD": true,
|
||||||
"EDITION_STRING": "Fusion",
|
"EDITION_STRING": "Fusion",
|
||||||
"TARGET": "f4hwn.fusion"
|
"TARGET": "f4hwn.fusion"
|
||||||
|
|||||||
Reference in new issue
Block a user