Skip to content

Commit

Permalink
Merge pull request #97 from awordforthat/issue82/update-gps-docs-amend
Browse files Browse the repository at this point in the history
use values for satellite dict access instead of items
  • Loading branch information
tekktrik committed May 19, 2023
2 parents 57a402a + a310747 commit 99f1cc5
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 @@ -699,7 +699,7 @@ def _parse_gsv(self, talker: bytes, data: List[str]) -> bool:
# been seen for 30 seconds
timestamp = time.monotonic()
old = []
for sat in self.sats.items():
for sat in self.sats.values():
if (timestamp - sat[4]) > 30:
old.append(i)
for i in old:
Expand Down

0 comments on commit 99f1cc5

Please sign in to comment.