From b886bd42e9c267418ce1df32545b9586d1162168 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Wed, 17 Oct 2012 23:05:20 -0700 Subject: [PATCH] Fix for TCAS unknown report type. --- python/msprint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/msprint.py b/python/msprint.py index 002eef3..bf54217 100644 --- a/python/msprint.py +++ b/python/msprint.py @@ -225,6 +225,8 @@ class output_print(air_modes.parse): (resolutions, complements, rat, mte, threat_alt, threat_range, threat_bearing) = self.parseMB_TCAS_threatloc(data) retstr += "range: %i bearing: %i alt: %i advised: %s complement: %s" % (threat_range, threat_bearing, threat_alt, resolutions, complements) else: + rat = 0 + mte = 0 retstr += " (no handler for TTI=%i)" % tti if mte == 1: retstr += " (multiple threats)"