summaryrefslogtreecommitdiff
path: root/altoslib/AltosConvert.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-28 10:13:05 -0800
committerKeith Packard <keithp@keithp.com>2013-12-28 10:13:05 -0800
commit053d092b3dca4ebb98e97ec0fe24f5f5e1c31f88 (patch)
treeff6f621c82b90c924f661a10a4a7924d3ed7ebf4 /altoslib/AltosConvert.java
parent081455dcba860f3e4df8cd66f3fe686b204034ad (diff)
altoslib: Add AltosOrient class and max_orient()
This adds the class necessary to put orient into a UI. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosConvert.java')
-rw-r--r--altoslib/AltosConvert.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/altoslib/AltosConvert.java b/altoslib/AltosConvert.java
index ace9d62e..8f214c8b 100644
--- a/altoslib/AltosConvert.java
+++ b/altoslib/AltosConvert.java
@@ -330,6 +330,8 @@ public class AltosConvert {
public static AltosTemperature temperature = new AltosTemperature();
+ public static AltosOrient orient = new AltosOrient();
+
public static String show_gs(String format, double a) {
a = meters_to_g(a);
format = format.concat(" g");