altosui/telegps: Change from variable-units snuck into master
authorKeith Packard <keithp@keithp.com>
Tue, 3 Mar 2015 06:23:22 +0000 (22:23 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Mar 2015 06:23:22 +0000 (22:23 -0800)
show_units_name(double) only exists on the variable-units branch...

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

index b072ede..67decaa 100644 (file)
@@ -981,7 +981,7 @@ public class AltosConfigUI
        }
 
        String get_main_deploy_label() {
-               return String.format("Main Deploy Altitude(%s):", AltosConvert.height.show_units_name(AltosLib.MISSING));
+               return String.format("Main Deploy Altitude(%s):", AltosConvert.height.show_units());
        }
 
        String[] main_deploy_values() {
@@ -1245,7 +1245,7 @@ public class AltosConfigUI
        }
 
        String get_tracker_motion_label() {
-               return String.format("Logging Trigger Motion (%s):", AltosConvert.height.show_units_name(AltosLib.MISSING));
+               return String.format("Logging Trigger Motion (%s):", AltosConvert.height.show_units());
        }
 
        void set_tracker_tool_tip() {
index 0189a80..97ab34b 100644 (file)
@@ -862,7 +862,7 @@ public class TeleGPSConfigUI
        }
 
        String get_tracker_motion_label() {
-               return String.format("Logging Trigger Motion (%s):", AltosConvert.height.show_units_name(AltosLib.MISSING));
+               return String.format("Logging Trigger Motion (%s):", AltosConvert.height.show_units());
        }
 
        void set_tracker_tool_tip() {