From: Keith Packard Date: Tue, 13 Jun 2017 04:46:11 +0000 (-0700) Subject: altoslib: Set time for TeleMini v1.0 eeprom analysing X-Git-Tag: 1.8~34 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=5eb91267348b0992414521520eda5c3a65e23ea7 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 --- 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);