From 6f67beed8643d420d29e7a502c11cdc5bf58d597 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Sun, 28 Jul 2024 13:02:41 -0700 Subject: [PATCH] Ignore 0,0 fixes in updating KML too --- navpoint/usb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navpoint/usb.py b/navpoint/usb.py index 0381c0a..13c9926 100644 --- a/navpoint/usb.py +++ b/navpoint/usb.py @@ -28,8 +28,8 @@ def main(port, intercom): lon = parsed_data.lon time = parsed_data.time date = parsed_data.date - navpoint.content.content = f"""Navpoint1Position#icon{lon},{lat},0{date} {time} UTC""" if lat or lon: # ignore 0, 0 fixes + navpoint.content.content = f"""Navpoint1Position#icon{lon},{lat},0{date} {time} UTC""" intercom.put( "LocationUpdate", {