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)
|
if (edit_index >= 0 && edit_index < 4)
|
||||||
{ // editing the channel name characters
|
{ // editing the channel name characters
|
||||||
|
|
||||||
if (++edit_index < 4)
|
if (++edit_index >= 4)
|
||||||
return; // next char
|
{
|
||||||
|
|
||||||
// exit
|
// exit
|
||||||
if (memcmp(edit_original, edit, sizeof(edit_original)) == 0)
|
if (memcmp(edit_original, edit, sizeof(edit_original)) == 0)
|
||||||
|
@ -1466,6 +1466,7 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue