From: Keith Packard Date: Thu, 12 May 2016 06:31:53 +0000 (-0700) Subject: telegps: Adapt to distance units switching changes X-Git-Tag: 1.6.4~1^2~45 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=ba84b9c908d5909ea5a148c249709b21640f1eac telegps: Adapt to distance units switching changes 'show_units' is no longer available; use 'parse_units' instead Signed-off-by: Keith Packard --- 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() {