From d446c90dab0aca7e501a0228f24c210758d84a1d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 2 Mar 2015 22:23:22 -0800 Subject: [PATCH 1/1] 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 --- altosui/AltosConfigUI.java | 4 ++-- telegps/TeleGPSConfigUI.java | 2 +- 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() { -- 2.30.2