From ba84b9c908d5909ea5a148c249709b21640f1eac Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 11 May 2016 23:31:53 -0700 Subject: [PATCH] telegps: Adapt to distance units switching changes 'show_units' is no longer available; use 'parse_units' instead Signed-off-by: Keith Packard --- telegps/TeleGPSConfigUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegps/TeleGPSConfigUI.java b/telegps/TeleGPSConfigUI.java index 0f8a3d25..075fd8bb 100644 --- a/telegps/TeleGPSConfigUI.java +++ b/telegps/TeleGPSConfigUI.java @@ -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() { -- 2.30.2