altosdroid: East and West were flipped in all GPS output
[fw/altos] / altosdroid / src / org / altusmetrum / AltosDroid / TabLanded.java
index b257b9365d652c51fc67a3db2676138bb1fe53c6..013be0cdc1404d04973d7a19c5254fd970efc09d 100644 (file)
@@ -82,12 +82,12 @@ public class TabLanded extends AltosDroidTab {
                }
                if (state != null && state.gps != null) {
                        mTargetLatitudeView.setText(AltosDroid.pos(state.gps.lat, "N", "S"));
-                       mTargetLongitudeView.setText(AltosDroid.pos(state.gps.lon, "W", "E"));
+                       mTargetLongitudeView.setText(AltosDroid.pos(state.gps.lon, "E", "W"));
                }
 
                if (receiver != null) {
                        mReceiverLatitudeView.setText(AltosDroid.pos(receiver.getLatitude(), "N", "S"));
-                       mReceiverLongitudeView.setText(AltosDroid.pos(receiver.getLongitude(), "W", "E"));
+                       mReceiverLongitudeView.setText(AltosDroid.pos(receiver.getLongitude(), "E", "W"));
                }
 
                if (state != null) {