From 9a9e0390faf12e7214f1cbca1c6e13cbfa74d434 Mon Sep 17 00:00:00 2001 From: Nunu Date: Thu, 18 Jan 2024 17:41:32 +0100 Subject: [PATCH] squelch is 20% more sensitive --- radio.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/radio.c b/radio.c index a7a8a41..fd9b6c2 100644 --- a/radio.c +++ b/radio.c @@ -473,24 +473,11 @@ void RADIO_ConfigureSquelchAndOutputPower(VFO_Info_t *pInfo) #else // more sensitive .. use when RX bandwidths are fixed (no weak signal auto adjust) - rssi_open = (rssi_open * 3) / 4; - noise_open = (noise_open * 4) / 3; - glitch_open = (glitch_open * 4) / 3; + rssi_open = (rssi_open * 5) / 8; + noise_open = (noise_open * 8) / 5; + glitch_open = (glitch_open * 8) / 5; #endif - // make squelch more sensitive for HF bands - if(Band <= BAND1_50MHz) { - rssi_close = (rssi_open * 5) / 6; - noise_close = (noise_open * 6) / 5; - glitch_close = (glitch_open * 6) / 5; - } - else - { - rssi_close = (rssi_open * 9) / 10; - noise_close = (noise_open * 10) / 9; - glitch_close = (glitch_open * 10) / 9; - } - // ensure the 'close' threshold is lower than the 'open' threshold if (rssi_close == rssi_open && rssi_close >= 2) rssi_close -= 2;