Fixed boolean values.

This commit is contained in:
Dual Tachyon 2023-09-19 22:45:00 +01:00
parent 0e0b92fc8c
commit b0620755f4
2 changed files with 6 additions and 6 deletions

View File

@ -479,16 +479,16 @@ void UI_DisplayMenu(void)
}
if (gSubMenuSelection == 0xFF || !gEeprom.SCAN_LIST_ENABLED[i]) {
UI_PrintString(String, 50, 127, 2, 8, 1);
UI_PrintString(String, 50, 127, 2, 8, true);
} else {
UI_PrintString(String, 50, 127, 0, 8, 1);
UI_PrintString(String, 50, 127, 0, 8, true);
if (IS_MR_CHANNEL(gEeprom.SCANLIST_PRIORITY_CH1[i])) {
sprintf(String, "PRI1:%d", gEeprom.SCANLIST_PRIORITY_CH1[i] + 1);
UI_PrintString(String, 50, 127, 2, 8, 1);
UI_PrintString(String, 50, 127, 2, 8, true);
}
if (IS_MR_CHANNEL(gEeprom.SCANLIST_PRIORITY_CH2[i])) {
sprintf(String, "PRI2:%d", gEeprom.SCANLIST_PRIORITY_CH2[i] + 1);
UI_PrintString(String, 50, 127, 4, 8, 1);
UI_PrintString(String, 50, 127, 4, 8, true);
}
}
}

View File

@ -38,7 +38,7 @@ void UI_DisplayScanner(void)
} else {
sprintf(String, "FREQ:**.*****");
}
UI_PrintString(String, 2, 127, 1, 8, 0);
UI_PrintString(String, 2, 127, 1, 8, false);
memset(String, 0, sizeof(String));
if (gScanCssState < SCAN_CSS_STATE_FOUND || !gScanUseCssResult) {
@ -48,7 +48,7 @@ void UI_DisplayScanner(void)
} else {
sprintf(String, "DCS:D%03oN", DCS_Options[gScanCssResultCode]);
}
UI_PrintString(String, 2, 127, 3, 8, 0);
UI_PrintString(String, 2, 127, 3, 8, false);
memset(String, 0, sizeof(String));
if (gScannerEditState == 2) {