信道长度

This commit is contained in:
wu58430 2024-01-10 22:52:06 +08:00
parent 323efb9045
commit 367a162ffa
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -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] = ' ';