diff options
author | Keith Packard <keithp@keithp.com> | 2014-04-30 21:30:46 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-30 21:30:46 -0700 |
commit | ecebb3902868d1d7485d2bc99ba4140c6b90567e (patch) | |
tree | 234c2383d682cbfc68c3623de61f05e4a61620d0 /altoslib/AltosEepromMega.java | |
parent | 5fb246fb50e262aa81ef7eb430be9782cfcf8848 (diff) |
altoslib: Track pyro firing state when reading mega eeprom files
TeleMega records whether each pyro has been fired in the eeprom file;
track that in the AltosState record.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosEepromMega.java')
-rw-r--r-- | altoslib/AltosEepromMega.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/altoslib/AltosEepromMega.java b/altoslib/AltosEepromMega.java index 35e87885..da5f2a3e 100644 --- a/altoslib/AltosEepromMega.java +++ b/altoslib/AltosEepromMega.java @@ -150,6 +150,7 @@ public class AltosEepromMega extends AltosEeprom { voltages[i] = AltosConvert.mega_pyro_voltage(sense(i)); state.set_ignitor_voltage(voltages); + state.set_pyro_fired(pyro()); break; case AltosLib.AO_LOG_GPS_TIME: state.set_tick(tick); |