mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-28 13:16:01 +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)
|
$(SIZE) $(TARGET)
|
||||||
|
|
||||||
full:
|
full:
|
||||||
|
$(RM) *.bin
|
||||||
$(MAKE) build ENABLE_CHINESE_FULL=0
|
$(MAKE) build ENABLE_CHINESE_FULL=0
|
||||||
$(MAKE) build ENABLE_CHINESE_FULL=1
|
$(MAKE) build ENABLE_CHINESE_FULL=1
|
||||||
$(MAKE) build ENABLE_CHINESE_FULL=2
|
$(MAKE) build ENABLE_CHINESE_FULL=2
|
||||||
$(MAKE) build ENABLE_CHINESE_FULL=3
|
$(MAKE) build ENABLE_CHINESE_FULL=3
|
||||||
$(MAKE) build ENABLE_CHINESE_FULL=4
|
$(MAKE) build ENABLE_CHINESE_FULL=4
|
||||||
both:
|
both:
|
||||||
|
$(RM) *.bin
|
||||||
$(MAKE) build ENABLE_CHINESE_FULL=0
|
$(MAKE) build ENABLE_CHINESE_FULL=0
|
||||||
$(MAKE) build ENABLE_CHINESE_FULL=4
|
$(MAKE) build ENABLE_CHINESE_FULL=4
|
||||||
|
|
||||||
|
|
|
@ -512,7 +512,7 @@ void MENU_AcceptSetting(void) {
|
||||||
#endif
|
#endif
|
||||||
case MENU_MEM_NAME:
|
case MENU_MEM_NAME:
|
||||||
// trailing trim
|
// 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)
|
if (edit[i] != ' ' && edit[i] != '_' && edit[i] != 0x00 && edit[i] != 0xff)
|
||||||
break;
|
break;
|
||||||
edit[i] = ' ';
|
edit[i] = ' ';
|
||||||
|
|
Loading…
Reference in a new issue