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
6852d5e0ff
commit
0fecf032d5
1 changed files with 5 additions and 5 deletions
10
app/menu.c
10
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
|
||||
|
|
Loading…
Reference in a new issue