mirror of
https://github.com/kamilsss655/uv-k5-firmware-custom
synced 2024-11-21 17:57:59 +00:00
squelch is 20% more sensitive
This commit is contained in:
parent
7c04d3a20c
commit
9a9e0390fa
19
radio.c
19
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;
|
||||
|
Loading…
Reference in New Issue
Block a user