From e4fa0f7082fbf1e090356b34cc65809f836e605f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 14 Dec 2025 07:25:05 -0500 Subject: [PATCH] Update gps_client.py --- gps_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gps_client.py b/gps_client.py index e5074232..b9ba38d9 100644 --- a/gps_client.py +++ b/gps_client.py @@ -16,7 +16,7 @@ session = gps.gps(mode=gps.WATCH_ENABLE) start = time.perf_counter() try: - while session.read() == 0 and ((time.perf_counter(0 - start)) < 1): + while session.read() == 0 and ((time.perf_counter() - start) < 1): print(gps.MODE_SET) print(session.valid) if not (gps.MODE_SET & session.valid):