telegps: Adapt to distance units switching changes
authorKeith Packard <keithp@keithp.com>
Thu, 12 May 2016 06:31:53 +0000 (23:31 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 12 May 2016 06:31:53 +0000 (23:31 -0700)
'show_units' is no longer available; use 'parse_units' instead

Signed-off-by: Keith Packard <keithp@keithp.com>
telegps/TeleGPSConfigUI.java

index 0f8a3d25756351c1301098a24fecc7d18e410c4d..075fd8bb3797b054bf4138925281b05998b56f18 100644 (file)
@@ -854,7 +854,7 @@ public class TeleGPSConfigUI
        }
 
        String get_tracker_motion_label() {
-               return String.format("Logging Trigger Motion (%s):", AltosConvert.height.show_units());
+               return String.format("Logging Trigger Motion (%s):", AltosConvert.height.parse_units());
        }
 
        void set_tracker_tool_tip() {