mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
MDC UI
This commit is contained in:
parent
d108f204d1
commit
60a28c1a0f
1 changed files with 3 additions and 2 deletions
|
@ -1449,8 +1449,8 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
|
|||
if (edit_index >= 0 && edit_index < 4)
|
||||
{ // editing the channel name characters
|
||||
|
||||
if (++edit_index < 4)
|
||||
return; // next char
|
||||
if (++edit_index >= 4)
|
||||
{
|
||||
|
||||
// exit
|
||||
if (memcmp(edit_original, edit, sizeof(edit_original)) == 0)
|
||||
|
@ -1464,6 +1464,7 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
|
|||
gFlagAcceptSetting = false;
|
||||
gAskForConfirmation = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue