0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

Added AM note

This commit is contained in:
OneOfEleven
2023-09-09 12:14:15 +01:00
parent 9fac4a780a
commit 2f2bdcb4b8
5 changed files with 27 additions and 15 deletions

View File

@ -512,8 +512,20 @@ void UI_DisplayMenu(void)
break;
}
UI_PrintString(String, 50, 127, 2, 8, true);
if (gMenuCursor == MENU_AM)
{ // the radio doesn't really do AM
UI_PrintString(String, 50, 127, 1, 8, true);
if (gSubMenuSelection > 0)
{
UI_PrintString("not", 50, 127, 3, 8, true);
UI_PrintString("really", 50, 127, 5, 8, true);
}
}
else
{
UI_PrintString(String, 50, 127, 2, 8, true);
}
if (gMenuCursor == MENU_VOL)
{ // 2nd text line .. percentage
const uint16_t volts = (gBatteryVoltageAverage < gMin_bat_v) ? gMin_bat_v :