mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-05-02 00:01:27 +03:00
moved green LED on to reduce LED flicker
This commit is contained in:
parent
3b4178d59d
commit
7f91f7349b
@ -455,6 +455,8 @@ void APP_start_listening(function_type_t Function, const bool reset_am_fix)
|
|||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
BK4819_set_GPIO_pin(BK4819_GPIO6_PIN2_GREEN, true); // LED on
|
||||||
|
|
||||||
if (g_setting_backlight_on_tx_rx >= 2)
|
if (g_setting_backlight_on_tx_rx >= 2)
|
||||||
backlight_turn_on(backlight_tx_rx_time_500ms);
|
backlight_turn_on(backlight_tx_rx_time_500ms);
|
||||||
|
|
||||||
@ -968,7 +970,7 @@ void APP_process_radio_interrupts(void)
|
|||||||
g_squelch_open = false;
|
g_squelch_open = false;
|
||||||
|
|
||||||
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
|
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
|
||||||
UART_printf("squelch found (closed)\r\n");
|
UART_printf("squelch closed\r\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -978,7 +980,7 @@ void APP_process_radio_interrupts(void)
|
|||||||
g_squelch_open = true;
|
g_squelch_open = true;
|
||||||
|
|
||||||
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
|
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
|
||||||
UART_printf("squelch lost (opened)\r\n");
|
UART_printf("squelch opened\r\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user