From 622b10bdcc921a2534ee42ca9b6fbd844d729a87 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 22:02:38 +0800 Subject: [PATCH] MDC UI --- ui/menu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/menu.c b/ui/menu.c index 6c9ad35..b99ae0b 100644 --- a/ui/menu.c +++ b/ui/menu.c @@ -691,16 +691,16 @@ void UI_DisplayMenu(void) { sprintf(String, "%04X", gEeprom.MDC1200_ID); // %04X确保输出是4个字符长度的十六进制数 edit[0]=String[0]; - edit[1]=String[0]; - edit[2]=String[0]; - edit[3]=String[0]; + edit[1]=String[1]; + edit[2]=String[2]; + edit[3]=String[3]; UI_PrintStringSmall(String, menu_item_x1, menu_item_x2, 3);//4 } else { // show the channel name being edited UI_PrintStringSmall(edit, menu_item_x1, menu_item_x2, 3); if (edit_index < 4) - UI_PrintStringSmall("^", menu_item_x1+(((menu_item_x2 - menu_item_x1) - (32)) + 1) / 2 + (8 * edit_index), 0, 4); // show the cursor + UI_PrintStringSmall("^", menu_item_x1+(((menu_item_x2 - menu_item_x1) - (32)) + 1) / 2 + (8 * edit_index)+3, 0, 4); // show the cursor } already_printed = true; break;