From 469af01ecb82521594cfe0b5582683a7915be52a Mon Sep 17 00:00:00 2001 From: Mashintime Date: Sat, 13 May 2023 12:53:51 -0400 Subject: [PATCH] Lower number of samples needed above avg to trigger busy --- tnc/modem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tnc/modem.py b/tnc/modem.py index ae8db8b8..5c783228 100644 --- a/tnc/modem.py +++ b/tnc/modem.py @@ -1255,7 +1255,7 @@ class RF: # Check for signals higher than average by checking for "100" # If we have a signal, increment our channel_busy delay counter # so we have a smoother state toggle - if np.sum(slotdfft[slotdfft > avg + 15]) >= 400 and not TNC.transmitting: + if np.sum(slotdfft[slotdfft > avg + 15]) >= 200 and not TNC.transmitting: ModemParam.channel_busy = True ModemParam.channel_busy_slot[slot] = True # Limit delay counter to a maximum of 200. The higher this value,