Removing emitter-centered local decoding from the CPR parser. Using only global decoding.

This commit is contained in:
Nick Foster
2012-10-14 17:56:01 -07:00
parent 85da74b43a
commit 3c8c60f57f
2 changed files with 8 additions and 23 deletions

View File

@@ -69,7 +69,9 @@ class output_print(air_modes.parse):
pass
def output(self, msg):
print self.parse(msg)
parsed = self.parse(msg)
if parsed is not None:
print self.parse(msg)
def print0(self, shortdata, ecc):
[vs, cc, sl, ri, altitude] = self.parse0(shortdata)