From 5eb91267348b0992414521520eda5c3a65e23ea7 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 12 Jun 2017 21:46:11 -0700 Subject: [PATCH] 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 --- altoslib/AltosEepromRecordTiny.java | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2