From 8b90e5f5598ab1661c87b6f776f3203ddefc0c7a Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 8 Jan 2024 12:04:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/welcome.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/welcome.c b/ui/welcome.c index 22f3a07..10fee94 100644 --- a/ui/welcome.c +++ b/ui/welcome.c @@ -52,9 +52,10 @@ void UI_DisplayWelcome(void) { UI_DisplayClear(); ST7565_BlitStatusLine(); // blank status line ST7565_BlitFullScreen(); +#if ENABLE_CHINESE_FULL == 4 + if (gEeprom.POWER_ON_DISPLAY_MODE == POWER_ON_DISPLAY_MODE_MESSAGE) { -#if ENABLE_CHINESE_FULL == 4 uint8_t welcome_len[2]; EEPROM_ReadBuffer(0x1e31e, welcome_len, 2) ; welcome_len[0]=welcome_len[0]>18?0:welcome_len[0]; @@ -74,8 +75,9 @@ void UI_DisplayWelcome(void) { BATTERY_VoltsToPercent(gBatteryVoltageAverage)); UI_PrintStringSmall(WelcomeString1, 0, 127, 4); UI_PrintStringSmall(Version, 0, 127, 6); - } #if ENABLE_CHINESE_FULL == 4 + + } else if(gEeprom.POWER_ON_DISPLAY_MODE == POWER_ON_DISPLAY_MODE_PIC) { EEPROM_ReadBuffer( 0x1E350, gStatusLine, 128);