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):