summaryrefslogtreecommitdiff
path: root/altoslib/AltosLib.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-10-04 00:07:39 -0700
committerKeith Packard <keithp@keithp.com>2014-10-04 00:07:39 -0700
commit656d8fe17532ca6c7d1d43996f187df2f14f5395 (patch)
tree513d24594df0d409883a4ddbe60e2acf634e93f5 /altoslib/AltosLib.java
parent9521dc63671b69065d27fc1ccba6d20cc90643cb (diff)
altoslib: Deal with new Mega log format that has 32-bit gyro cal
This adds parsing for the new log format type to get all 32 bits of the gyro calibration data. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosLib.java')
-rw-r--r--altoslib/AltosLib.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/altoslib/AltosLib.java b/altoslib/AltosLib.java
index 2e9dc648..92a22ec7 100644
--- a/altoslib/AltosLib.java
+++ b/altoslib/AltosLib.java
@@ -315,11 +315,12 @@ public class AltosLib {
public static final int AO_LOG_FORMAT_TINY = 2;
public static final int AO_LOG_FORMAT_TELEMETRY = 3;
public static final int AO_LOG_FORMAT_TELESCIENCE = 4;
- public static final int AO_LOG_FORMAT_TELEMEGA = 5;
+ public static final int AO_LOG_FORMAT_TELEMEGA_OLD = 5;
public static final int AO_LOG_FORMAT_EASYMINI = 6;
public static final int AO_LOG_FORMAT_TELEMETRUM = 7;
public static final int AO_LOG_FORMAT_TELEMINI = 8;
public static final int AO_LOG_FORMAT_TELEGPS = 9;
+ public static final int AO_LOG_FORMAT_TELEMEGA = 10;
public static final int AO_LOG_FORMAT_NONE = 127;
public static boolean isspace(int c) {