From cb80a03df371dde4947fa5ea1043f85c01f442ff Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 14 Dec 2025 08:04:55 -0500 Subject: [PATCH] Update gps_client.py stop if mode 3 --- gps_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gps_client.py b/gps_client.py index 76b19395..74826a60 100644 --- a/gps_client.py +++ b/gps_client.py @@ -24,7 +24,7 @@ lon = 0 alt = 0 try: - while (session.read() == 0) and ((time.perf_counter() - start) < 2) and (mode < 3): + while (session.read() == 0) and ((time.perf_counter() - start) < 2) and (mode < 2): # print(gps.MODE_SET) # print(session.valid) if (session.valid):