summaryrefslogtreecommitdiff
path: root/altosuilib/AltosScanUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-02-07 17:35:15 -0800
committerKeith Packard <keithp@keithp.com>2015-02-07 17:35:15 -0800
commit9d5a6914982a29d22103e0202735c9e01ee9e831 (patch)
tree47f0312c811da5eb627b4929b59da6af33499c84 /altosuilib/AltosScanUI.java
parentcbc9ecd960d0dd27a2275b4550c30c5c88ccf5bb (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.java2
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);