diff options
author | Keith Packard <keithp@keithp.com> | 2017-10-02 16:55:18 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-10-02 16:55:18 -0700 |
commit | de2b6ec1cdfd48c948bff7edbfe2540440429b1b (patch) | |
tree | aa9754d515f020a6992ff4787e936be466bc9799 /altoslib/AltosEepromRecordSet.java | |
parent | 322c1abead39cb398380dff384cd274c19dd81dd (diff) |
altoslib,altosuilib,altosui: log_format/device_type TeleGPS selects stateless
When the device being analyzed has no flight state, we want to use the
'stateless' state so that the UI can display reasonable
information. This bit was lost in the recent AltosState shuffle and
this patch brings it back.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosEepromRecordSet.java')
-rw-r--r-- | altoslib/AltosEepromRecordSet.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/altoslib/AltosEepromRecordSet.java b/altoslib/AltosEepromRecordSet.java index 48e90c05..d91ae3ac 100644 --- a/altoslib/AltosEepromRecordSet.java +++ b/altoslib/AltosEepromRecordSet.java @@ -44,6 +44,8 @@ public class AltosEepromRecordSet implements AltosRecordSet { AltosCalData cal_data = cal_data(); cal_data.reset(); + listener.set_log_format(config_data().log_format); + for (AltosEepromRecord record : ordered) { record.provide_data(listener, cal_data); } |