From 7992e7aea3a6228dfaa940d1f54e7b9b39c95ede Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 20:30:38 +0800 Subject: [PATCH] MDC RX --- app/menu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/menu.c b/app/menu.c index 87a1918..cf23311 100644 --- a/app/menu.c +++ b/app/menu.c @@ -1664,8 +1664,12 @@ if( gIsInSubMenu && edit_index >= 0){ if (bKeyPressed && edit_index < 4 ) { char c = edit[edit_index] + Direction; if(c<'0')c='F'; - else if(c>'9'&&c<'A')c='A'; else if(c>'F')c='0'; + else if(c>'9'&&c<'A'){ + if(Direction==1)c='A'; + else c='9'; + } + edit[edit_index]=c; gRequestDisplayScreen = DISPLAY_MENU; }