Correct mode_sbs1 so that it runs

Msg return output has changed. Time is now only a single variable.
This commit is contained in:
Zack Moratto 2011-07-07 10:42:19 -07:00
parent a765ffc059
commit 1bbd29d09c

View File

@ -59,14 +59,12 @@ class modes_output_sbs1(modes_parse.modes_parse):
#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
[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)
longdata = long(longdata, 16)
parity = long(parity, 16)
ecc = long(ecc, 16)
# reference = float(reference)
msgtype = int(msgtype)
outmsg = None