mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
信道长度
This commit is contained in:
parent
323efb9045
commit
367a162ffa
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -484,12 +484,14 @@ endif
|
|||
$(SIZE) $(TARGET)
|
||||
|
||||
full:
|
||||
$(RM) *.bin
|
||||
$(MAKE) build ENABLE_CHINESE_FULL=0
|
||||
$(MAKE) build ENABLE_CHINESE_FULL=1
|
||||
$(MAKE) build ENABLE_CHINESE_FULL=2
|
||||
$(MAKE) build ENABLE_CHINESE_FULL=3
|
||||
$(MAKE) build ENABLE_CHINESE_FULL=4
|
||||
both:
|
||||
$(RM) *.bin
|
||||
$(MAKE) build ENABLE_CHINESE_FULL=0
|
||||
$(MAKE) build ENABLE_CHINESE_FULL=4
|
||||
|
||||
|
|
|
@ -512,7 +512,7 @@ void MENU_AcceptSetting(void) {
|
|||
#endif
|
||||
case MENU_MEM_NAME:
|
||||
// trailing trim
|
||||
for (int i = 9; i >= 0; i--) {
|
||||
for (int i = MAX_EDIT_INDEX-1; i >= 0; i--) {
|
||||
if (edit[i] != ' ' && edit[i] != '_' && edit[i] != 0x00 && edit[i] != 0xff)
|
||||
break;
|
||||
edit[i] = ' ';
|
||||
|
|
Loading…
Reference in a new issue