diff options
author | Keith Packard <keithp@keithp.com> | 2013-09-06 16:48:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-09-06 16:48:52 -0700 |
commit | a299a5a9a1b89c7ebc00ebd33a789793a6835181 (patch) | |
tree | 86d103a3575bef39af8aba47002e81755f2edf01 /altosui | |
parent | 82b3e3e4889aa5d4d157df1ad82e28068fda9e2a (diff) |
altoslib/altosui: Add TeleMini-v1.0 eeprom support
Got lost in the AltosState transition
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui')
-rw-r--r-- | altosui/AltosEepromDownload.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/altosui/AltosEepromDownload.java b/altosui/AltosEepromDownload.java index c3bdd159..f034d73c 100644 --- a/altosui/AltosEepromDownload.java +++ b/altosui/AltosEepromDownload.java @@ -100,7 +100,10 @@ public class AltosEepromDownload implements Runnable { state.set_serial(flights.config_data.serial); for (int i = 0; i < AltosEepromChunk.chunk_size && !done; i += record_length) { - AltosEeprom r = eechunk.eeprom(i, log_format); + AltosEeprom r = eechunk.eeprom(i, log_format, state); + + if (r == null) + continue; record_length = r.record_length(); |