0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-21 07:28:37 +03:00

Disable the weak signal auto RX bandwidth reduction - test

This commit is contained in:
OneOfEleven
2023-10-04 21:18:02 +01:00
parent 1dbe874240
commit 5900d46edb
8 changed files with 32 additions and 24 deletions

View File

@ -1711,16 +1711,22 @@ void APP_TimeSlice500ms(void)
if (gDTMF_RX_live_timeout > 0)
{
if (--gDTMF_RX_live_timeout == 0)
#ifdef ENABLE_RSSI_BAR
if (center_line == CENTER_LINE_DTMF_DEC ||
center_line == CENTER_LINE_NONE) // wait till the center line is free for us to use before timing out
#endif
{
if (gDTMF_RX_live[0] != 0)
if (--gDTMF_RX_live_timeout == 0)
{
memset(gDTMF_RX_live, 0, sizeof(gDTMF_RX_live));
gUpdateDisplay = true;
if (gDTMF_RX_live[0] != 0)
{
memset(gDTMF_RX_live, 0, sizeof(gDTMF_RX_live));
gUpdateDisplay = true;
}
}
}
}
if (gDTMF_RX_timeout > 0)
if (--gDTMF_RX_timeout == 0)
DTMF_clear_RX();