From 8766a4bb926f8b7f65609c020be9fad933fefb12 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 21:35:32 +0800 Subject: [PATCH] MDC UI --- ui/menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/menu.c b/ui/menu.c index 41d5e5b..d49b307 100644 --- a/ui/menu.c +++ b/ui/menu.c @@ -687,14 +687,14 @@ void UI_DisplayMenu(void) { { // gIsInSubMenu if (!gIsInSubMenu||edit_index<0) { // show the channel name - sprintf(edit, "%04lX", gEeprom.MDC1200_ID); // %04X确保输出是4个字符长度的十六进制数 + // sprintf(edit, "%04lX", gEeprom.MDC1200_ID); // %04X确保输出是4个字符长度的十六进制数 - sprintf(String, "%04X", gEeprom.MDC1200_ID); // %04X确保输出是4个字符长度的十六进制数 + // sprintf(String, "%04X", gEeprom.MDC1200_ID); // %04X确保输出是4个字符长度的十六进制数 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 + (8 * edit_index), 0, 4); // show the cursor + UI_PrintStringSmall("^", menu_item_x1 + (8 * edit_index), menu_item_x2, 4); // show the cursor } already_printed = true; break;