Merge pull request #108 from adafruit/dhalbert-patch-1
Fix typo in _parse_gil()
This commit is contained in:
commit
ea37df37cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue