Update gps_client.py stop if mode 3

pi-sensors-auto-gps
Alan Johnston 4 days ago committed by GitHub
parent ed570b8dc4
commit cb80a03df3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,7 +24,7 @@ lon = 0
alt = 0 alt = 0
try: 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(gps.MODE_SET)
# print(session.valid) # print(session.valid)
if (session.valid): if (session.valid):

Loading…
Cancel
Save

Powered by TurnKey Linux.