diff options
author | Keith Packard <keithp@keithp.com> | 2011-03-30 11:47:07 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-30 11:47:07 -0700 |
commit | a9df9fc257eb2d7038d66ac7c2539aae4474bf12 (patch) | |
tree | b075056c89047bae1bac840559dffe6e456b5a45 /altosui/AltosEepromRecord.java | |
parent | 87bff181a95f6bf92c2cec350d331ba6af779e80 (diff) |
altosui: Parse and export Max flight log value
New configuration field might as well get dumped to the .csv files.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromRecord.java')
-rw-r--r-- | altosui/AltosEepromRecord.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/altosui/AltosEepromRecord.java b/altosui/AltosEepromRecord.java index 5787af86..52acb435 100644 --- a/altosui/AltosEepromRecord.java +++ b/altosui/AltosEepromRecord.java @@ -131,6 +131,9 @@ public class AltosEepromRecord { } else if (tokens[0].equals("Radio") && tokens[1].equals("cal:")) { cmd = Altos.AO_LOG_RADIO_CAL; a = Integer.parseInt(tokens[2]); + } else if (tokens[0].equals("Max") && tokens[1].equals("flight") && tokens[2].equals("log:")) { + cmd = Altos.AO_LOG_MAX_FLIGHT_LOG; + a = Integer.parseInt(tokens[3]); } else if (tokens[0].equals("manufacturer")) { cmd = Altos.AO_LOG_MANUFACTURER; data = tokens[1]; |