Skip to content

Commit

Permalink
Display coordinates for dfrobotv2
Browse files Browse the repository at this point in the history
Signed-off-by: misterf13 <fgarcia1337@gmail.com>
  • Loading branch information
misterf13 committed Apr 21, 2020
1 parent a3cf492 commit 840054f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pwnagotchi/plugins/default/gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def on_ui_setup(self, ui):
lat_pos = (67, 73)
lon_pos = (62, 83)
alt_pos = (67, 93)
elif ui.is_dfrobot_v2:
lat_pos = (127, 75)
lon_pos = (122, 84)
alt_pos = (127, 94)
else:
# guessed values, add tested ones if you can
lat_pos = (127, 51)
Expand Down

0 comments on commit 840054f

Please sign in to comment.