Merge pull request #97 from awordforthat/issue82/update-gps-docs-amend

use values for satellite dict access instead of items
This commit is contained in:
Alec Delaney 2023-05-18 20:01:37 -04:00 committed by GitHub
commit 99f1cc5309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -699,7 +699,7 @@ class GPS:
# 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: