altoslib: Set time for TeleMini v1.0 eeprom analysing
authorKeith Packard <keithp@keithp.com>
Tue, 13 Jun 2017 04:46:11 +0000 (21:46 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 13 Jun 2017 04:46:11 +0000 (21:46 -0700)
Need to take the computed tick time and tell the listener what time
that cooresponds to.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosEepromRecordTiny.java

index 705fbd9e63fcf1511ee5481d729c8b9c1085f9ff..70960a2ae4452ee3400da7f906b09836949f0f14 100644 (file)
@@ -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);