mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
set is IRS state after checking for it
This commit is contained in:
parent
ac3f2b079c
commit
5649340175
|
@ -2090,7 +2090,6 @@ class DATA:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.arq_file_transfer = True
|
self.arq_file_transfer = True
|
||||||
self.is_IRS = True
|
|
||||||
|
|
||||||
# check if callsign ssid override
|
# check if callsign ssid override
|
||||||
_, self.mycallsign = helpers.check_callsign(self.mycallsign, data_in[1:4])
|
_, 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:
|
if static.ARQ_STATE and not self.is_IRS:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
self.is_IRS = True
|
||||||
|
|
||||||
static.DXCALLSIGN_CRC = bytes(data_in[4:7])
|
static.DXCALLSIGN_CRC = bytes(data_in[4:7])
|
||||||
self.dxcallsign = helpers.bytes_to_callsign(bytes(data_in[7:13]))
|
self.dxcallsign = helpers.bytes_to_callsign(bytes(data_in[7:13]))
|
||||||
static.DXCALLSIGN = self.dxcallsign
|
static.DXCALLSIGN = self.dxcallsign
|
||||||
|
|
Loading…
Reference in a new issue