diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 5f7fad5..d8ad38d 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -20,7 +20,9 @@
-
+
+
+
@@ -126,7 +128,7 @@
-
+
1701136012311
@@ -429,7 +431,21 @@
1701692636883
-
+
+ 1701692962928
+
+
+
+ 1701692962928
+
+
+ 1701693039945
+
+
+
+ 1701693039945
+
+
diff --git a/app/menu.c b/app/menu.c
index cf23311..d456a8c 100644
--- a/app/menu.c
+++ b/app/menu.c
@@ -1667,7 +1667,7 @@ if( gIsInSubMenu && edit_index >= 0){
else if(c>'F')c='0';
else if(c>'9'&&c<'A'){
if(Direction==1)c='A';
- else c='9';
+ else c='9';
}
edit[edit_index]=c;
diff --git a/ui/menu.c b/ui/menu.c
index bc35e32..850c802 100644
--- a/ui/menu.c
+++ b/ui/menu.c
@@ -685,7 +685,8 @@ void UI_DisplayMenu(void) {
case MENU_MDC_ID:
{
- if (!gIsInSubMenu||edit_index<0) { // show the channel name
+ gIsInSubMenu=true;
+ if (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