0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 22:31:25 +03:00

single VFO display DTMF entry fix

This commit is contained in:
OneOfEleven 2023-12-01 11:07:22 +00:00
parent ff2248b287
commit d3f8d2e56d
3 changed files with 8 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1063,6 +1063,9 @@ void UI_DisplayMain(void)
#endif #endif
#if ENABLE_SINGLE_VFO_CHAN #if ENABLE_SINGLE_VFO_CHAN
if (g_dtmf_input_mode)
single_vfo = -1;
#ifdef ENABLE_PANADAPTER #ifdef ENABLE_PANADAPTER
if (!pan_enabled) if (!pan_enabled)
#endif #endif
@ -1116,7 +1119,7 @@ void UI_DisplayMain(void)
} }
else else
{ {
sprintf(str, ">%s", g_dtmf_input_box); sprintf(str, "DTMF entry ..");
} }
str[16] = 0; str[16] = 0;
UI_PrintString(str, 2, 0, 0 + (vfo_num * 3), 8); UI_PrintString(str, 2, 0, 0 + (vfo_num * 3), 8);
@ -1144,6 +1147,10 @@ void UI_DisplayMain(void)
sprintf(str, ">%s", g_dtmf_string); sprintf(str, ">%s", g_dtmf_string);
} }
} }
else
{
sprintf(str, ">%s", g_dtmf_input_box);
}
str[16] = 0; str[16] = 0;
UI_PrintString(str, 2, 0, 2 + (vfo_num * 3), 8); UI_PrintString(str, 2, 0, 2 + (vfo_num * 3), 8);