This commit is contained in:
Your Name
2024-06-09 18:01:57 -05:00
parent 2c9e56a579
commit 314e9b5d32

View File

@@ -394,7 +394,7 @@ def main() -> NoReturn:
last_reported_longitude = gps.longitude last_reported_longitude = gps.longitude
if os.path.exists("/data/brian/gps_tracking.sh"): if os.path.exists("/data/brian/gps_tracking.sh"):
# Update the last reported time and location # Update the last reported time and location
subprocess.run(["bash", "/data/brian/gps_tracking.sh", str(gps.latitude), str(gps.longitude), str(gps.speed)], check=True) subprocess.run(["bash", "/data/brian/gps_tracking.sh", str(gps.latitude), str(gps.longitude)])
elif log_type == LOG_GNSS_OEMDRE_SVPOLY_REPORT: elif log_type == LOG_GNSS_OEMDRE_SVPOLY_REPORT: