Skip to content

Commit 99f1cc5

Browse files
authored
Merge pull request #97 from awordforthat/issue82/update-gps-docs-amend
use values for satellite dict access instead of items
2 parents 57a402a + a310747 commit 99f1cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_gps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ def _parse_gsv(self, talker: bytes, data: List[str]) -> bool:
699699
# been seen for 30 seconds
700700
timestamp = time.monotonic()
701701
old = []
702-
for sat in self.sats.items():
702+
for sat in self.sats.values():
703703
if (timestamp - sat[4]) > 30:
704704
old.append(i)
705705
for i in old:

0 commit comments

Comments
 (0)