From 9d5a6914982a29d22103e0202735c9e01ee9e831 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 7 Feb 2015 17:35:15 -0800 Subject: 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 --- altosuilib/AltosScanUI.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'altosuilib') 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); -- cgit v1.2.3