Merge pull request #702 from HouzuoGuo/fix-gps-longitude

Fix incorrect prefix W/E that was displayed along with longitude
This commit is contained in:
Verkehrsrot authored and GitHub committed 2021-01-03 13:47:25 +01:00
commit 42657329e3
1 file changed
+1 -1
+1 -1
View File
@@ -400,7 +400,7 @@ void dp_drawPage(time_t t, bool nextpage) {
gps.location.lat());
// 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());
} else {