diff options
| author | Keith Packard <keithp@keithp.com> | 2011-08-13 18:39:35 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-08-13 18:46:12 -0700 |
| commit | 03e201e1acc8742399054e4ad36b533120ea1612 (patch) | |
| tree | a7bba0c9375522111e43d95abc77441dbf9143f5 /altosui/AltosEepromList.java | |
| parent | 5a3e96bef31959a287b8696778d7d8cf911a7dc4 (diff) | |
altosui: Add support for TeleScience eeprom download
Using the existing eeprom methods, fetch and save TeleScience eeprom
data, storing to a filename generated from the serial/flight from the
TM connected to the TS board.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromList.java')
| -rw-r--r-- | altosui/AltosEepromList.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosEepromList.java b/altosui/AltosEepromList.java index 185fec91..da4b1166 100644 --- a/altosui/AltosEepromList.java +++ b/altosui/AltosEepromList.java @@ -67,7 +67,7 @@ public class AltosEepromList extends ArrayList<AltosEepromLog> { ArrayList<AltosEepromFlight> flights = new ArrayList<AltosEepromFlight>(); - if (config_data.flight_log_max != 0) { + if (config_data.flight_log_max != 0 || config_data.log_format != 0) { /* Devices with newer firmware will support the 'l' * command which will list the region of storage @@ -113,7 +113,7 @@ public class AltosEepromList extends ArrayList<AltosEepromLog> { * firmware, this will also extract the flight number. */ for (AltosEepromFlight flight : flights) { - add(new AltosEepromLog(serial_line, config_data.serial, + add(new AltosEepromLog(config_data, serial_line, flight.flight, flight.start, flight.end)); } } finally { |
