mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-05-19 00:11:18 +03:00
Small fixes to RX/TX backlight and compile problem
This commit is contained in:
parent
613fc482cc
commit
00465cacf1
@ -460,6 +460,8 @@ static void APP_process_function(void)
|
||||
break;
|
||||
|
||||
case FUNCTION_RECEIVE:
|
||||
if (g_setting_backlight_on_tx_rx >= 2)
|
||||
backlight_turn_on(backlight_tx_rx_time_500ms);
|
||||
APP_process_rx();
|
||||
break;
|
||||
|
||||
@ -1107,8 +1109,7 @@ void APP_process(void)
|
||||
if (g_reduced_service || g_serial_config_count_down_500ms > 0)
|
||||
return;
|
||||
|
||||
if (g_current_function != FUNCTION_TRANSMIT)
|
||||
APP_process_function();
|
||||
APP_process_function();
|
||||
|
||||
#ifdef ENABLE_FMRADIO
|
||||
if (g_fm_radio_mode && g_fm_radio_count_down_500ms > 0)
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -192,7 +192,11 @@ void UI_drawBars(uint8_t *p, const unsigned int level)
|
||||
|
||||
// TX timeout seconds
|
||||
sprintf(s, "%3u", secs);
|
||||
UI_PrintStringSmallBold(s, 2, 0, line);
|
||||
#ifdef ENABLE_SMALL_BOLD
|
||||
UI_PrintStringSmallBold(s, 2, 0, line);
|
||||
#else
|
||||
UI_PrintStringSmall(s, 2, 0, line);
|
||||
#endif
|
||||
|
||||
{ // TX audio level
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user