Updated CxCSS variable names.

This commit is contained in:
Dual Tachyon 2023-08-26 01:46:21 +01:00
parent ef50b02163
commit dc17c5dfce
3 changed files with 7 additions and 7 deletions

6
gui.c
View File

@ -1266,10 +1266,10 @@ static void DisplayScanner(void)
if (gScanState < 2 || g_2000045C != 1) {
sprintf(String, "CTC:******");
} else if (g_2000045A == 1) {
sprintf(String, "CTC:%.1fHz", CTCSS_Options[g_2000045B + 1] * 0.1);
} else if (g_CxCSS_Type == 1) {
sprintf(String, "CTC:%.1fHz", CTCSS_Options[g_CxCSS_Index] * 0.1);
} else {
sprintf(String, "DCS:D%03oN", DCS_Options[g_2000045B]);
sprintf(String, "DCS:D%03oN", DCS_Options[g_CxCSS_Index]);
}
GUI_PrintString(String, 2, 127, 3, 8, 0);
memset(String, 0, sizeof(String));

4
misc.c
View File

@ -98,8 +98,8 @@ uint8_t gDTMF_WriteIndex;
uint8_t g_20000438;
uint8_t gMenuListCount;
uint8_t g_20000458;
uint8_t g_2000045A;
uint8_t g_2000045B;
uint8_t g_CxCSS_Type;
uint8_t g_CxCSS_Index;
uint8_t g_2000045C;
uint8_t g_20000461;
uint8_t g_20000464;

4
misc.h
View File

@ -101,8 +101,8 @@ extern uint8_t gDTMF_WriteIndex;
extern uint8_t g_20000438;
extern uint8_t gMenuListCount;
extern uint8_t g_20000458;
extern uint8_t g_2000045A;
extern uint8_t g_2000045B;
extern uint8_t g_CxCSS_Type;
extern uint8_t g_CxCSS_Index;
extern uint8_t g_2000045C;
extern uint8_t g_20000461;
extern uint8_t g_20000464;