This commit is contained in:
wu58430 2023-12-04 20:33:11 +08:00
parent 7992e7aea3
commit 9a7035d20d
3 changed files with 22 additions and 5 deletions

View file

@ -20,7 +20,9 @@
</configurations>
</component>
<component name="ChangeListManager">
<list default="true" id="cea36e80-e289-4d69-9030-7186d540ac0e" name="更改" comment="MDC RX" />
<list default="true" id="cea36e80-e289-4d69-9030-7186d540ac0e" name="更改" comment="MDC RX">
<change beforePath="$PROJECT_DIR$/app/menu.c" beforeDir="false" afterPath="$PROJECT_DIR$/app/menu.c" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -126,7 +128,7 @@
<workItem from="1701413653518" duration="3544000" />
<workItem from="1701430185864" duration="10115000" />
<workItem from="1701559895523" duration="22519000" />
<workItem from="1701678199532" duration="13406000" />
<workItem from="1701678199532" duration="13757000" />
</task>
<task id="LOCAL-00001" summary="bug fix">
<created>1701136012311</created>
@ -429,7 +431,21 @@
<option name="project" value="LOCAL" />
<updated>1701692636883</updated>
</task>
<option name="localTasksCounter" value="44" />
<task id="LOCAL-00044" summary="MDC RX">
<created>1701692962928</created>
<option name="number" value="00044" />
<option name="presentableId" value="LOCAL-00044" />
<option name="project" value="LOCAL" />
<updated>1701692962928</updated>
</task>
<task id="LOCAL-00045" summary="MDC RX">
<created>1701693039945</created>
<option name="number" value="00045" />
<option name="presentableId" value="LOCAL-00045" />
<option name="project" value="LOCAL" />
<updated>1701693039945</updated>
</task>
<option name="localTasksCounter" value="46" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">

View file

@ -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