0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-08-05 10:06:33 +03:00

Fix 1750 compile warning

This commit is contained in:
OneOfEleven
2023-10-10 10:42:22 +01:00
parent d212d44ab5
commit 47357fb113
6 changed files with 18 additions and 8 deletions

View File

@@ -276,6 +276,8 @@ void ACTION_Scan(bool bRestart)
{
g_input_box_index = 0;
(void)b1750; // stop unused compile warning
#if defined(ENABLE_ALARM) && defined(ENABLE_TX1750)
g_alarm_state = b1750 ? ALARM_STATE_TX1750 : ALARM_STATE_TXALARM;
g_alarm_running_counter = 0;

View File

@@ -1246,7 +1246,7 @@ void APP_Update(void)
if (g_rx_idle_mode)
{
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
UART_SendText("ps wake up\r\n");
//UART_SendText("ps wake up\r\n");
#endif
BK4819_Conditional_RX_TurnOn_and_GPIO6_Enable();