mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 06:58:39 +03:00
Try up/down butts with squelch off/monitor enabled
This commit is contained in:
15
ui/status.c
15
ui/status.c
@ -79,7 +79,7 @@ void UI_DisplayStatus(const bool test_display)
|
||||
// hmmm, what to put in it's place
|
||||
#endif
|
||||
|
||||
if (g_setting_killed)
|
||||
if (g_setting_radio_disabled)
|
||||
{
|
||||
memset(line + x, 0xFF, 10);
|
||||
x1 = x + 10;
|
||||
@ -131,10 +131,17 @@ void UI_DisplayStatus(const bool test_display)
|
||||
// DUAL-WATCH indicator
|
||||
if (g_eeprom.dual_watch != DUAL_WATCH_OFF || test_display)
|
||||
{
|
||||
if (g_dual_watch_active || test_display)
|
||||
memmove(line + x, BITMAP_TDR1, sizeof(BITMAP_TDR1));
|
||||
if (g_scan_state_dir == SCAN_STATE_DIR_OFF ||
|
||||
g_squelch_lost ||
|
||||
g_current_function == FUNCTION_INCOMING ||
|
||||
g_current_function == FUNCTION_MONITOR ||
|
||||
g_screen_to_display == DISPLAY_SEARCH ||
|
||||
test_display)
|
||||
{
|
||||
memmove(line + x, BITMAP_TDR1, sizeof(BITMAP_TDR1)); // dual-watch is paused
|
||||
}
|
||||
else
|
||||
memmove(line + x, BITMAP_TDR2, sizeof(BITMAP_TDR2));
|
||||
memmove(line + x, BITMAP_TDR2, sizeof(BITMAP_TDR2)); // dual-watch is running
|
||||
}
|
||||
x += sizeof(BITMAP_TDR1);
|
||||
|
||||
|
Reference in New Issue
Block a user