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

Radio kill/revive code compile option added

This commit is contained in:
OneOfEleven
2023-10-16 22:29:23 +01:00
parent 695cf81d17
commit 73572f24b1
15 changed files with 171 additions and 105 deletions

View File

@ -79,12 +79,15 @@ void UI_DisplayStatus(const bool test_display)
// hmmm, what to put in it's place
#endif
if (g_setting_radio_disabled)
#ifdef ENABLE_KILL_REVIVE
if (g_setting_radio_disabled)
{
memset(line + x, 0xFF, 10);
x1 = x + 10;
}
else
#endif
{
memset(line + x, 0xFF, 10);
x1 = x + 10;
}
else
#ifdef ENABLE_FMRADIO
// FM indicator
if (g_fm_radio_mode || test_display)
@ -114,6 +117,7 @@ void UI_DisplayStatus(const bool test_display)
}
x1 = x + 7;
}
}
x += 7; // font character width
#ifdef ENABLE_VOICE