From 3aff9cd716a53f0718be7c92dd1ffc96494423f5 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 23:05:44 +0800 Subject: [PATCH] MDC UI --- app/menu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/menu.c b/app/menu.c index e076718..3b90924 100644 --- a/app/menu.c +++ b/app/menu.c @@ -1411,13 +1411,12 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld) { #ifdef ENABLE_MDC1200 if (UI_MENU_GetCurrentMenuId() == MENU_MDC_ID) { - if (edit_index < 0) - { + edit_index = 0; memmove(edit_original, edit, sizeof(edit_original)); - } + }