From 1bbd29d09c8d4368242d170988ca8dbf7f8cedf9 Mon Sep 17 00:00:00 2001 From: Zack Moratto Date: Thu, 7 Jul 2011 10:42:19 -0700 Subject: [PATCH] Correct mode_sbs1 so that it runs Msg return output has changed. Time is now only a single variable. --- src/python/modes_sbs1.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/python/modes_sbs1.py b/src/python/modes_sbs1.py index c75508c..922887a 100644 --- a/src/python/modes_sbs1.py +++ b/src/python/modes_sbs1.py @@ -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