diff options
author | Keith Packard <keithp@keithp.com> | 2017-06-12 21:46:11 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-06-12 21:46:11 -0700 |
commit | 5eb91267348b0992414521520eda5c3a65e23ea7 (patch) | |
tree | 4c6389e19a7df71a3bfbf4cc0b1230014fe27b8d | |
parent | ee221ddf00f631a5f9d5d93468bfc697a26e4cfe (diff) |
altoslib: Set time for TeleMini v1.0 eeprom analysing
Need to take the computed tick time and tell the listener what time
that cooresponds to.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altoslib/AltosEepromRecordTiny.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/altoslib/AltosEepromRecordTiny.java b/altoslib/AltosEepromRecordTiny.java index 705fbd9e..70960a2a 100644 --- a/altoslib/AltosEepromRecordTiny.java +++ b/altoslib/AltosEepromRecordTiny.java @@ -54,6 +54,7 @@ public class AltosEepromRecordTiny extends AltosEepromRecord implements AltosDat int value = data16(-header_length); cal_data.set_tick(tick()); + listener.set_time(cal_data.time()); switch (cmd()) { case AltosLib.AO_LOG_FLIGHT: listener.set_state(AltosLib.ao_flight_pad); |