From 5649340175a767a9f791824fe080a71efb24a89e Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sun, 29 Jan 2023 12:20:30 +0100 Subject: [PATCH] set is IRS state after checking for it --- tnc/data_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index 90dac4d3..f9220a90 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -2090,7 +2090,6 @@ class DATA: return False self.arq_file_transfer = True - self.is_IRS = True # check if callsign ssid override _, self.mycallsign = helpers.check_callsign(self.mycallsign, data_in[1:4]) @@ -2103,6 +2102,8 @@ class DATA: if static.ARQ_STATE and not self.is_IRS: return False + self.is_IRS = True + static.DXCALLSIGN_CRC = bytes(data_in[4:7]) self.dxcallsign = helpers.bytes_to_callsign(bytes(data_in[7:13])) static.DXCALLSIGN = self.dxcallsign