Fix incorrect prefix W/E that was displayed along with longitude

This commit is contained in:
HouzuoGuo 2021-01-03 13:09:40 +02:00
parent 149bd7e05e
commit 11dddf459b

View File

@ -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 {