summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-05-11 23:31:53 -0700
committerKeith Packard <keithp@keithp.com>2016-05-11 23:31:53 -0700
commitba84b9c908d5909ea5a148c249709b21640f1eac (patch)
tree8d5f1ae6b9862987ec2e0db07d5fc2033e104995
parent2ec7e14f0104e3a227ff566fa2fc1f6286ddd9d0 (diff)
telegps: Adapt to distance units switching changes
'show_units' is no longer available; use 'parse_units' instead Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--telegps/TeleGPSConfigUI.java2
1 files changed, 1 insertions, 1 deletions
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() {