diff options
Diffstat (limited to 'altosuilib/AltosScanUI.java')
-rw-r--r-- | altosuilib/AltosScanUI.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/altosuilib/AltosScanUI.java b/altosuilib/AltosScanUI.java index 1b30f99d..a20a7e14 100644 --- a/altosuilib/AltosScanUI.java +++ b/altosuilib/AltosScanUI.java @@ -210,6 +210,8 @@ 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); @@ -254,9 +256,6 @@ public class AltosScanUI void next() throws InterruptedException, TimeoutException { reader.set_monitor(false); - /* Let any pending input from the last configuration drain out */ - Thread.sleep(100); - if (select_rate) { boolean wrapped = false; do { |