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 b072ede755e2cbf56afaacd453c2fe6157228c72..67decaa4f589e4e07cca3845763ae0392e1424c2 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 0189a8092e998eca49eb63f5158f0ba0bedc2088..97ab34b40b0b1846d1a93f8ef4b9e958869199e1 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() {