-
Notifications
You must be signed in to change notification settings - Fork 960
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let RangeTest Module use Phone position if there's no GPS (#5623)
As reported by @Fastomat, if a user had enabled "Share Phone Position" in the app, RangeTest did not use this position and recorded a 0,0 lat/lon. This change preferences GPS where avaialble, but otherwise uses the position stored for the node in NodeDB. fixes #5620
- Loading branch information
Showing
1 changed file
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df63423
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fifieldt I used the nightly build (2.5.17.32719f6) and confirm while using "Share Phone Position", RangeTest now reports rx lat, rx long and rx elevation. Thumbs up!
Minor issue, the distance is still reported as 0 in the rangetest.csv.
df63423
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Fastomat . Yeah, I can see in the code why distance would still be off. If you have time, another bug would be helpful so I remember :)