From 0fecf032d53b422b6dea86d30214e28f26c96acd Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 21:55:50 +0800 Subject: [PATCH] MDC UI --- app/menu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/menu.c b/app/menu.c index 9a4b84c..c7a67e7 100644 --- a/app/menu.c +++ b/app/menu.c @@ -506,11 +506,11 @@ void MENU_AcceptSetting(void) return; #ifdef ENABLE_MDC1200 case MENU_MDC_ID: - for (int i = 4; i >= 0; i--) { - if (edit[i] != ' ' && edit[i] != '_' && edit[i] != 0x00 && edit[i] != 0xff) - break; - edit[i] = ' '; - } +// for (int i = 3; i >= 0; i--) { +// if (edit[i] != ' ' && edit[i] != '_' && edit[i] != 0x00 && edit[i] != 0xff) +// break; +// edit[i] = ' '; +// } gEeprom.MDC1200_ID=extractHex(edit); return; #endif