Fix incorrect prefix W/E that was displayed along with longitude
This commit is contained in:
parent
149bd7e05e
commit
11dddf459b
@ -400,7 +400,7 @@ void dp_drawPage(time_t t, bool nextpage) {
|
|||||||
gps.location.lat());
|
gps.location.lat());
|
||||||
|
|
||||||
// line 6-7: GPS longitude
|
// line 6-7: GPS longitude
|
||||||
dp_printf("%c%07.4f", gps.location.rawLat().negative ? 'W' : 'E',
|
dp_printf("%c%07.4f", gps.location.rawLng().negative ? 'W' : 'E',
|
||||||
gps.location.lng());
|
gps.location.lng());
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user