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:
parent
0704541dd1
commit
c472e60615
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user