mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
MDC RX
This commit is contained in:
parent
1c9a0f55a3
commit
b56d8fe91b
3 changed files with 15 additions and 5 deletions
|
@ -126,7 +126,7 @@
|
|||
<workItem from="1701413653518" duration="3544000" />
|
||||
<workItem from="1701430185864" duration="10115000" />
|
||||
<workItem from="1701559895523" duration="22519000" />
|
||||
<workItem from="1701678199532" duration="14098000" />
|
||||
<workItem from="1701678199532" duration="14440000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="bug fix">
|
||||
<created>1701136012311</created>
|
||||
|
@ -457,7 +457,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1701693386492</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="48" />
|
||||
<task id="LOCAL-00048" summary="MDC RX">
|
||||
<created>1701693594928</created>
|
||||
<option name="number" value="00048" />
|
||||
<option name="presentableId" value="LOCAL-00048" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1701693594928</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="49" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
|
|
|
@ -1421,7 +1421,7 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
|
|||
return;
|
||||
|
||||
gBeepToPlay = BEEP_1KHZ_60MS_OPTIONAL;
|
||||
gRequestDisplayScreen = DISPLAY_MENU;
|
||||
gRequestDisplayScrFeen = DISPLAY_MENU;
|
||||
|
||||
if (!gIsInSubMenu)
|
||||
{
|
||||
|
|
|
@ -685,13 +685,16 @@ void UI_DisplayMenu(void) {
|
|||
|
||||
case MENU_MDC_ID:
|
||||
{
|
||||
gIsInSubMenu
|
||||
if (!gIsInSubMenu||edit_index<0) { // show the channel name
|
||||
sprintf(edit, "%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, 0, 3);
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue