summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-03-02 22:23:22 -0800
committerKeith Packard <keithp@keithp.com>2015-03-02 22:23:22 -0800
commitd446c90dab0aca7e501a0228f24c210758d84a1d (patch)
tree6919d9eb40094e5dc88198c1cc5b0110e5949aa1
parentbef7c89dac68956a94ae386fa6b87165ab6cb484 (diff)
altosui/telegps: Change from variable-units snuck into master
show_units_name(double) only exists on the variable-units branch... Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosui/AltosConfigUI.java4
-rw-r--r--telegps/TeleGPSConfigUI.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/altosui/AltosConfigUI.java b/altosui/AltosConfigUI.java
index b072ede7..67decaa4 100644
--- a/altosui/AltosConfigUI.java
+++ b/altosui/AltosConfigUI.java
@@ -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() {
diff --git a/telegps/TeleGPSConfigUI.java b/telegps/TeleGPSConfigUI.java
index 0189a809..97ab34b4 100644
--- a/telegps/TeleGPSConfigUI.java
+++ b/telegps/TeleGPSConfigUI.java
@@ -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() {