From 1c299832ae2b2f0bf94e73f493e9b5cc081628b0 Mon Sep 17 00:00:00 2001 From: hmax42 <maximilian.hoetzl@gmail.com> Date: Sun, 1 Dec 2019 07:56:03 +0100 Subject: [PATCH] add ws1 --- 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 451fc7a..7a0a27a 100644 --- a/pwnagotchi/plugins/default/gps.py +++ b/pwnagotchi/plugins/default/gps.py @@ -54,6 +54,10 @@ class GPS(plugins.Plugin): lat_pos = (127, 75) lon_pos = (122, 84) alt_pos = (127, 94) + elif ui.is_waveshare_v1(): + lat_pos = (127, 75) + lon_pos = (122, 84) + alt_pos = (127, 94) elif ui.is_inky(): # guessed values, add tested ones if you can lat_pos = (112, 30)