Fix for gps labels on inkyphat displays
Positioned the gps labels correctly on inkyphat displays
This commit is contained in:
parent
23616095ba
commit
489bce0c01
@ -59,10 +59,9 @@ class GPS(plugins.Plugin):
|
|||||||
lon_pos = (125, 80)
|
lon_pos = (125, 80)
|
||||||
alt_pos = (130, 90)
|
alt_pos = (130, 90)
|
||||||
elif ui.is_inky():
|
elif ui.is_inky():
|
||||||
# guessed values, add tested ones if you can
|
lat_pos = (127, 60)
|
||||||
lat_pos = (112, 30)
|
lon_pos = (127, 70)
|
||||||
lon_pos = (112, 49)
|
alt_pos = (127, 80)
|
||||||
alt_pos = (87, 63)
|
|
||||||
elif ui.is_waveshare144lcd():
|
elif ui.is_waveshare144lcd():
|
||||||
# guessed values, add tested ones if you can
|
# guessed values, add tested ones if you can
|
||||||
lat_pos = (67, 73)
|
lat_pos = (67, 73)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user