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 @@
-
-
-
+
@@ -128,7 +126,7 @@
-
+
1701136012311
@@ -445,7 +443,21 @@
1701693039945
-
+
+ 1701693197494
+
+
+
+ 1701693197494
+
+
+ 1701693386492
+
+
+
+ 1701693386492
+
+
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