wip
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user