0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-05-19 08:21:18 +03:00

Small fixes to RX/TX backlight and compile problem

This commit is contained in:
OneOfEleven 2023-10-16 18:37:03 +01:00
parent 613fc482cc
commit 00465cacf1
4 changed files with 8 additions and 3 deletions

View File

@ -460,6 +460,8 @@ static void APP_process_function(void)
break; break;
case FUNCTION_RECEIVE: case FUNCTION_RECEIVE:
if (g_setting_backlight_on_tx_rx >= 2)
backlight_turn_on(backlight_tx_rx_time_500ms);
APP_process_rx(); APP_process_rx();
break; break;
@ -1107,7 +1109,6 @@ void APP_process(void)
if (g_reduced_service || g_serial_config_count_down_500ms > 0) if (g_reduced_service || g_serial_config_count_down_500ms > 0)
return; return;
if (g_current_function != FUNCTION_TRANSMIT)
APP_process_function(); APP_process_function();
#ifdef ENABLE_FMRADIO #ifdef ENABLE_FMRADIO

Binary file not shown.

Binary file not shown.

View File

@ -192,7 +192,11 @@ void UI_drawBars(uint8_t *p, const unsigned int level)
// TX timeout seconds // TX timeout seconds
sprintf(s, "%3u", secs); sprintf(s, "%3u", secs);
#ifdef ENABLE_SMALL_BOLD
UI_PrintStringSmallBold(s, 2, 0, line); UI_PrintStringSmallBold(s, 2, 0, line);
#else
UI_PrintStringSmall(s, 2, 0, line);
#endif
{ // TX audio level { // TX audio level