summaryrefslogtreecommitdiff
path: root/altoslib/AltosTelemetryRecord.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-08-27 21:28:07 -0600
committerKeith Packard <keithp@keithp.com>2013-08-29 06:47:37 -0600
commit04d7d0f829ba953ffeca8ad9887a4b6b2b5d5087 (patch)
tree5a0c085740c465adb7f52442f34eaf4ee08ce7dc /altoslib/AltosTelemetryRecord.java
parentdcc51bb18985c24fa35bce0dd42ea3d847b960bf (diff)
altoslib: Start restructuring AltosState harder
Make per-packet code update state itself rather than having all state updates done centrally. Will make adding new packet types easier. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosTelemetryRecord.java')
-rw-r--r--altoslib/AltosTelemetryRecord.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/altoslib/AltosTelemetryRecord.java b/altoslib/AltosTelemetryRecord.java
index fdc3c88e..a744e61a 100644
--- a/altoslib/AltosTelemetryRecord.java
+++ b/altoslib/AltosTelemetryRecord.java
@@ -44,6 +44,7 @@ public abstract class AltosTelemetryRecord {
final static int packet_type_companion = 0x07;
final static int packet_type_MM_sensor = 0x08;
final static int packet_type_MM_data = 0x09;
+ final static int packet_type_Mini = 0x10;
static AltosTelemetryRecord parse_hex(String hex) throws ParseException, AltosCRCException {
AltosTelemetryRecord r;