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

Fix DTMF decoder whoopsy

This commit is contained in:
OneOfEleven
2023-09-18 20:37:42 +01:00
parent 630a17a7ed
commit 787a705b45
9 changed files with 75 additions and 23 deletions

View File

@ -54,11 +54,11 @@ void UI_DisplayStatus(const bool test_display)
line += 12;
#endif
if (gSetting_KILLED)
memset(line, 0xFF, 10);
else
#ifdef ENABLE_FMRADIO
// FM indicator
if (gSetting_KILLED)
memset(line, 0xFF, 10);
else
if (gFmRadioMode || test_display)
memmove(line, BITMAP_FM, sizeof(BITMAP_FM));
else