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:
Brigham Campbell 2021-03-14 11:46:04 -06:00
parent 0704541dd1
commit c472e60615

View File

@ -73,7 +73,7 @@ class GPS(plugins.Plugin):
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)