Skip to content

Commit

Permalink
Fix bug in gps module
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
xeyler committed Mar 14, 2021
1 parent 0704541 commit c472e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnagotchi/plugins/default/gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def on_ui_setup(self, ui):
lat_pos = (67, 73)
lon_pos = (62, 83)
alt_pos = (67, 93)
elif ui.is_dfrobot_v2:
elif ui.is_dfrobot_v2():
lat_pos = (127, 75)
lon_pos = (122, 84)
alt_pos = (127, 94)
Expand Down

0 comments on commit c472e60

Please sign in to comment.