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/AltosTelemetryConfiguration.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/AltosTelemetryConfiguration.java')
-rw-r--r-- | altoslib/AltosTelemetryConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosTelemetryConfiguration.java b/altoslib/AltosTelemetryConfiguration.java index ea307442..c8026a83 100644 --- a/altoslib/AltosTelemetryConfiguration.java +++ b/altoslib/AltosTelemetryConfiguration.java @@ -40,7 +40,7 @@ public class AltosTelemetryConfiguration extends AltosTelemetryStandard { AltosCalData cal_data = listener.cal_data(); - cal_data.set_device_type(device_type()); + listener.set_device_type(device_type()); cal_data.set_flight(flight()); cal_data.set_config(config_major(), config_minor(), flight_log_max()); if (device_type() == AltosLib.product_telegps) |