0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-18 22:29:50 +03:00

Scrambler menu now says 'DISABLED' if hidden menu 'SCR EN' is set to disabled

This commit is contained in:
OneOfEleven
2023-12-20 13:10:03 +00:00
parent 2d8d2dddf3
commit 6a84ee1d79
5 changed files with 23 additions and 10 deletions

View File

@ -715,6 +715,10 @@ void UI_DisplayMenu(void)
case MENU_SCRAMBLER:
strcpy(str, "INVERT\n");
if (g_eeprom.config.setting.enable_scrambler == 0)
strcat(str, "DISABLED");
else
if (g_sub_menu_selection == 0)
strcat(str, "OFF");
else
@ -726,6 +730,7 @@ void UI_DisplayMenu(void)
else
BK4819_set_scrambler(0);
#endif
channel_setting = true;
break;