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
8766a4bb92
commit
94ff970dd7
1 changed files with 3 additions and 3 deletions
|
@ -1453,11 +1453,11 @@ 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;
|
||||||
|
|
||||||
|
|
||||||
// while (edit_index < 4)
|
while (edit_index < 4)
|
||||||
// edit[edit_index++] = '_';
|
edit[edit_index++] = '_';
|
||||||
edit_index = 0; // 'edit_index' is going to be used as the cursor position
|
edit_index = 0; // 'edit_index' is going to be used as the cursor position
|
||||||
// make a copy so we can test for change when exiting the menu item
|
// make a copy so we can test for change when exiting the menu item
|
||||||
memmove(edit_original, edit, sizeof(edit_original));
|
memmove(edit_original, edit, sizeof(edit_original));
|
||||||
|
|
Loading…
Reference in a new issue