This commit is contained in:
wu58430 2023-12-04 21:55:50 +08:00
parent 6852d5e0ff
commit 0fecf032d5

View file

@ -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