Update gps_client.py print values

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

@ -14,6 +14,8 @@ session = gps.gps(mode=gps.WATCH_ENABLE)
try:
while 0 == session.read():
print(gps.MODE_SET)
print(session.valid)
if not (gps.MODE_SET & session.valid):
# not useful, probably not a TPV message
continue

Loading…
Cancel
Save

Powered by TurnKey Linux.