Fix KML/SBS-1 interfaces for new BDS08 output type

This commit is contained in:
Nick Foster
2012-06-13 20:35:05 -07:00
parent c2e5f6c2a9
commit 1be63eba0a
3 changed files with 6 additions and 5 deletions

View File

@@ -166,7 +166,7 @@ class modes_output_sbs1(modes_parse.modes_parse):
if subtype >= 1 and subtype <= 4:
# Aircraft Identification
msg = self.parseBDS08(shortdata, longdata)
(msg, typestring) = self.parseBDS08(shortdata, longdata)
retstr = "MSG,1,0,%i,%X,%i,%s,%s,%s,%s,%s,,,,,,,,,,,\n" % (aircraft_id, icao24, aircraft_id+100, datestr, timestr, datestr, timestr, msg)
elif subtype >= 5 and subtype <= 8: