From ce32d589ab51154a411b62c32e6c1a15cd4cc6dd Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Thu, 17 Nov 2022 22:41:46 +0100 Subject: [PATCH] increased channel busy counter --- tnc/modem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tnc/modem.py b/tnc/modem.py index be5bab8b..8f1f5030 100644 --- a/tnc/modem.py +++ b/tnc/modem.py @@ -913,9 +913,9 @@ class RF: # so we have a smoother state toggle if np.sum(dfft[dfft > avg + 10]) >= 300 and not static.TRANSMITTING: static.CHANNEL_BUSY = True - # Limit delay counter to a maximun of 50. The higher this value, + # Limit delay counter to a maximum of 50. The higher this value, # the longer we will wait until releasing state - channel_busy_delay = min(channel_busy_delay + 5, 50) + channel_busy_delay = min(channel_busy_delay + 5, 150) else: # Decrement channel busy counter if no signal has been detected. channel_busy_delay = max(channel_busy_delay - 1, 0)