mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-28 13:16:01 +00:00
MDC RX
This commit is contained in:
parent
e4541087eb
commit
1cef3afd94
2 changed files with 2 additions and 1 deletions
|
@ -1454,7 +1454,7 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
|
||||||
if (edit_index < 0)
|
if (edit_index < 0)
|
||||||
{
|
{
|
||||||
// edit_index = 0;
|
// edit_index = 0;
|
||||||
sprintf(edit, " %04lX", gEeprom.MDC1200_ID); // %04X确保输出是4个字符长度的十六进制数
|
|
||||||
|
|
||||||
// while (edit_index < 4)
|
// while (edit_index < 4)
|
||||||
// edit[edit_index++] = '_';
|
// edit[edit_index++] = '_';
|
||||||
|
|
|
@ -687,6 +687,7 @@ void UI_DisplayMenu(void) {
|
||||||
{
|
{
|
||||||
// gIsInSubMenu
|
// gIsInSubMenu
|
||||||
if (!gIsInSubMenu||edit_index<0) { // show the channel name
|
if (!gIsInSubMenu||edit_index<0) { // show the channel name
|
||||||
|
sprintf(edit, "%04lX", gEeprom.MDC1200_ID); // %04X确保输出是4个字符长度的十六进制数
|
||||||
|
|
||||||
sprintf(String, "%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
|
UI_PrintStringSmall(String, menu_item_x1, menu_item_x2, 3);//4
|
||||||
|
|
Loading…
Reference in a new issue