From 840054f549ba933966e235a6df5f6732a70f70ba Mon Sep 17 00:00:00 2001 From: Ferny G Date: Mon, 20 Apr 2020 22:40:39 -0500 Subject: [PATCH] Display coordinates for dfrobotv2 Signed-off-by: misterf13 --- pwnagotchi/plugins/default/gps.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pwnagotchi/plugins/default/gps.py b/pwnagotchi/plugins/default/gps.py index 2ec3c05..892503b 100644 --- a/pwnagotchi/plugins/default/gps.py +++ b/pwnagotchi/plugins/default/gps.py @@ -73,6 +73,10 @@ class GPS(plugins.Plugin): 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)