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
4b6323e780
commit
d5072c23d6
1 changed files with 7 additions and 7 deletions
12
app/menu.c
12
app/menu.c
|
@ -1434,17 +1434,17 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld) {
|
|||
// exit
|
||||
if (memcmp(edit_original, edit, sizeof(edit_original)) == 0)
|
||||
{ // no change - drop it
|
||||
gFlagAcceptSetting = false;
|
||||
// gFlagAcceptSetting = false;
|
||||
gIsInSubMenu = false;
|
||||
gAskForConfirmation = 0;
|
||||
// gAskForConfirmation = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
// else
|
||||
// {
|
||||
//
|
||||
// }
|
||||
gFlagAcceptSetting = false;
|
||||
gAskForConfirmation = 0;
|
||||
}
|
||||
|
||||
}
|
||||
if (UI_MENU_GetCurrentMenuId() == MENU_MEM_NAME) {
|
||||
if (edit_index < 0) { // enter channel name edit mode
|
||||
if (!RADIO_CheckValidChannel(gSubMenuSelection, false, 0))
|
||||
|
|
Loading…
Reference in a new issue