From 9b72c900407e2b472bada4846e764369e4fe6e71 Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Mon, 23 Dec 2024 04:24:39 +0100 Subject: [PATCH] Save 4 bytes --- ui/welcome.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/welcome.c b/ui/welcome.c index 85ebcbf..6a5d79e 100644 --- a/ui/welcome.c +++ b/ui/welcome.c @@ -119,17 +119,13 @@ void UI_DisplayWelcome(void) #ifdef ENABLE_FEAT_F4HWN UI_PrintStringSmallNormal(Version, 0, 128, 4); - for (uint8_t i = 0; i < 128; i++) - { - gFrameBuffer[3][i] ^= 0x80; - } + UI_DrawLineBuffer(gFrameBuffer, 0, 31, 127, 31, 1); // Be ware, status zone = 8 lines, the rest = 56 ->total 64 for (uint8_t i = 18; i < 110; i++) { gFrameBuffer[4][i] ^= 0xFF; } - sprintf(WelcomeString3, "%s Edition", Edition); UI_PrintStringSmallNormal(WelcomeString3, 0, 127, 6);