diff --git a/src/python/modes_parse.py b/src/python/modes_parse.py index 1353457..12e9a56 100644 --- a/src/python/modes_parse.py +++ b/src/python/modes_parse.py @@ -186,7 +186,7 @@ class modes_parse: altitude = 0 - [decoded_lat, decoded_lon, rnge, bearing] = cpr_decode(icao24, encoded_lat, encoded_lon, cpr_format, self._evenlist_ground, self._oddlist_ground, self._lkplist, 1, longdata) + [decoded_lat, decoded_lon, rnge, bearing] = cpr_decode(self.my_location, icao24, encoded_lat, encoded_lon, cpr_format, self._evenlist_ground, self._oddlist_ground, self._lkplist, 1, longdata) return [altitude, decoded_lat, decoded_lon, rnge, bearing]