set is IRS state after checking for it

This commit is contained in:
DJ2LS 2023-01-29 12:20:30 +01:00
parent ac3f2b079c
commit 5649340175

View file

@ -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