mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
new eeprom structure array (not yet used)
This commit is contained in:
12
ui/menu.c
12
ui/menu.c
@ -878,12 +878,12 @@ void UI_DisplayMenu(void)
|
||||
|
||||
case MENU_UPCODE:
|
||||
strcpy(String, "PTT DTMF\nBEGIN\n");
|
||||
strcat(String, g_eeprom.dtmf_up_code);
|
||||
strcat(String, g_eeprom.dtmf_key_up_code);
|
||||
break;
|
||||
|
||||
case MENU_DWCODE:
|
||||
strcpy(String, "PTT DTMF\nEND\n");
|
||||
strcat(String, g_eeprom.dtmf_down_code);
|
||||
strcat(String, g_eeprom.dtmf_key_down_code);
|
||||
break;
|
||||
|
||||
case MENU_D_RSP:
|
||||
@ -1148,12 +1148,12 @@ void UI_DisplayMenu(void)
|
||||
UI_PrintString("SCAN", menu_item_x1, menu_item_x2, 4, 8);
|
||||
|
||||
if (g_menu_cursor == MENU_UPCODE)
|
||||
if (strlen(g_eeprom.dtmf_up_code) > 8)
|
||||
UI_PrintString(g_eeprom.dtmf_up_code + 8, menu_item_x1, menu_item_x2, 4, 8);
|
||||
if (strlen(g_eeprom.dtmf_key_up_code) > 8)
|
||||
UI_PrintString(g_eeprom.dtmf_key_up_code + 8, menu_item_x1, menu_item_x2, 4, 8);
|
||||
|
||||
if (g_menu_cursor == MENU_DWCODE)
|
||||
if (strlen(g_eeprom.dtmf_down_code) > 8)
|
||||
UI_PrintString(g_eeprom.dtmf_down_code + 8, menu_item_x1, menu_item_x2, 4, 8);
|
||||
if (strlen(g_eeprom.dtmf_key_down_code) > 8)
|
||||
UI_PrintString(g_eeprom.dtmf_key_down_code + 8, menu_item_x1, menu_item_x2, 4, 8);
|
||||
|
||||
if (g_menu_cursor == MENU_R_CTCS ||
|
||||
g_menu_cursor == MENU_T_CTCS ||
|
||||
|
Reference in New Issue
Block a user