kopia lustrzana https://github.com/projecthorus/chasemapper
Stop printing tracebacks on no-lock NMEA strings.
rodzic
1821807b2e
commit
85d849f7d0
|
@ -130,6 +130,8 @@ class SerialGPS(object):
|
|||
# Attempt to parse data.
|
||||
try:
|
||||
self.parse_nmea(data.decode('ascii'))
|
||||
except ValueError:
|
||||
logging.debug("SerialGPS - ValueError when attempting to parse data. GPS may not have lock")
|
||||
except:
|
||||
traceback.print_exc()
|
||||
pass
|
||||
|
|
Ładowanie…
Reference in New Issue