mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Fix bug in gps module
Fix a bug caused by using a function in a conditional instead of the return value of the function itself. Signed-off-by: Brigham Campbell <me@brighamcampbell.com>
This commit is contained in:
@ -73,7 +73,7 @@ class GPS(plugins.Plugin):
|
|||||||
lat_pos = (67, 73)
|
lat_pos = (67, 73)
|
||||||
lon_pos = (62, 83)
|
lon_pos = (62, 83)
|
||||||
alt_pos = (67, 93)
|
alt_pos = (67, 93)
|
||||||
elif ui.is_dfrobot_v2:
|
elif ui.is_dfrobot_v2():
|
||||||
lat_pos = (127, 75)
|
lat_pos = (127, 75)
|
||||||
lon_pos = (122, 84)
|
lon_pos = (122, 84)
|
||||||
alt_pos = (127, 94)
|
alt_pos = (127, 94)
|
||||||
|
Reference in New Issue
Block a user