diff options
author | Keith Packard <keithp@keithp.com> | 2015-02-07 17:35:15 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-02-07 17:35:15 -0800 |
commit | 9d5a6914982a29d22103e0202735c9e01ee9e831 (patch) | |
tree | 47f0312c811da5eb627b4929b59da6af33499c84 /altosuilib/AltosScanUI.java | |
parent | cbc9ecd960d0dd27a2275b4550c30c5c88ccf5bb (diff) |
altoslib: Clear saved TelemetryReader state instead of resetting in ScanUI
Instead of attempting to mash the saved state from AltosScanUI, just
throw it away in AltosTelemetryReader.reset. Much cleaner, and more reliable.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosScanUI.java')
-rw-r--r-- | altosuilib/AltosScanUI.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/altosuilib/AltosScanUI.java b/altosuilib/AltosScanUI.java index a20a7e14..bfe7ef36 100644 --- a/altosuilib/AltosScanUI.java +++ b/altosuilib/AltosScanUI.java @@ -210,8 +210,6 @@ public class AltosScanUI frequencies[frequency_index], telemetry, rate); - /* Reset the state so we don't get this data for another channel */ - state.init(); Runnable r = new Runnable() { public void run() { results.add(result); |