Skip to content

Commit

Permalink
Merge pull request #108 from adafruit/dhalbert-patch-1
Browse files Browse the repository at this point in the history
Fix typo in _parse_gil()
  • Loading branch information
tannewt committed Mar 22, 2024
2 parents ab6b33a + 41f1596 commit ea37df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def _parse_gll(self, data: List[str]) -> bool:
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
Expand Down

0 comments on commit ea37df3

Please sign in to comment.