Correct mode_sbs1 so that it runs
Msg return output has changed. Time is now only a single variable.
This commit is contained in:
@@ -59,14 +59,12 @@ class modes_output_sbs1(modes_parse.modes_parse):
|
|||||||
#assembles a SBS-1-style output string from the received message
|
#assembles a SBS-1-style output string from the received message
|
||||||
#this version ignores anything that isn't Type 17 for now, because we just don't care
|
#this version ignores anything that isn't Type 17 for now, because we just don't care
|
||||||
|
|
||||||
[msgtype, shortdata, longdata, parity, ecc, reference, time_secs, time_frac] = message.split()
|
[msgtype, shortdata, longdata, parity, ecc, reference, time] = message.split()
|
||||||
|
|
||||||
shortdata = long(shortdata, 16)
|
shortdata = long(shortdata, 16)
|
||||||
longdata = long(longdata, 16)
|
longdata = long(longdata, 16)
|
||||||
parity = long(parity, 16)
|
parity = long(parity, 16)
|
||||||
ecc = long(ecc, 16)
|
ecc = long(ecc, 16)
|
||||||
# reference = float(reference)
|
|
||||||
|
|
||||||
msgtype = int(msgtype)
|
msgtype = int(msgtype)
|
||||||
|
|
||||||
outmsg = None
|
outmsg = None
|
||||||
|
|||||||
Reference in New Issue
Block a user