diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-28 10:13:05 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-28 10:13:05 -0800 |
commit | 053d092b3dca4ebb98e97ec0fe24f5f5e1c31f88 (patch) | |
tree | ff6f621c82b90c924f661a10a4a7924d3ed7ebf4 /altoslib/AltosConvert.java | |
parent | 081455dcba860f3e4df8cd66f3fe686b204034ad (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.java | 2 |
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"); |