Merge pull request #108 from adafruit/dhalbert-patch-1

Fix typo in _parse_gil()
This commit is contained in:
Scott Shawcroft 2024-03-22 09:59:40 -07:00 committed by GitHub
commit ea37df37cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -505,7 +505,7 @@ class GPS:
if data is None or len(data) != 7:
return False # Unexpected number of params.
parsed_data = _parse_data(_GLL, data)
if data is None:
if parsed_data is None:
return False # Params didn't parse
# Latitude