diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d8ad38d..c944f01 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -20,9 +20,7 @@ - - - + diff --git a/ui/menu.c b/ui/menu.c index 34f578b..751a3b6 100644 --- a/ui/menu.c +++ b/ui/menu.c @@ -685,8 +685,7 @@ void UI_DisplayMenu(void) { case MENU_MDC_ID: { - gIsInSubMenu=true; - if (edit_index<0) { // show the channel name + if (!gIsInSubMenu||edit_index<0) { // show the channel name 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