diff options
author | Keith Packard <keithp@keithp.com> | 2013-08-31 23:11:39 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-08-31 23:11:39 -0500 |
commit | 77dc89ed5b7bf8f5b3fa3b6131660f1a98f583ea (patch) | |
tree | f2b92c6d3e92d4b807ec945285bf15d91585367a /altoslib/AltosEepromMetrum.java | |
parent | c781469ff907a32bd43a5d781391b6859b14cd32 (diff) |
altoslib/altosui: Further AltosState transition work
Parses most eeprom and telem records now; altosui updated to show from
AltosState info.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosEepromMetrum.java')
-rw-r--r-- | altoslib/AltosEepromMetrum.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/altoslib/AltosEepromMetrum.java b/altoslib/AltosEepromMetrum.java index 72887032..e035e5fd 100644 --- a/altoslib/AltosEepromMetrum.java +++ b/altoslib/AltosEepromMetrum.java @@ -32,6 +32,8 @@ public class AltosEepromMetrum { static final int header_length = 4; static final int data_length = record_length - header_length; + public int record_length() { return record_length; } + public int data8(int i) { return data8[i]; } |