diff options
author | Keith Packard <keithp@keithp.com> | 2017-06-20 11:18:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-06-20 11:18:41 -0700 |
commit | 0da4e201041a4420f273c2e0cda77eea78099518 (patch) | |
tree | 617f28dbd38b7ade20edb7eb1676ee2b3fc917b0 /altoslib/AltosIdleMonitor.java | |
parent | a61217f0a6d0ef48b6471f632c4600255867e831 (diff) |
altoslib: Make cal_data private in AltosDataListener
This way we can create it as needed.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosIdleMonitor.java')
-rw-r--r-- | altoslib/AltosIdleMonitor.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/altoslib/AltosIdleMonitor.java b/altoslib/AltosIdleMonitor.java index cc6b8545..fc5d4cc8 100644 --- a/altoslib/AltosIdleMonitor.java +++ b/altoslib/AltosIdleMonitor.java @@ -55,11 +55,10 @@ public class AltosIdleMonitor extends Thread { boolean provide_data(AltosDataListener listener) throws InterruptedException, TimeoutException, AltosUnknownProduct { boolean worked = false; boolean aborted = false; - AltosCalData cal_data = new AltosCalData(link.config_data()); try { start_link(); - fetch.provide_data(listener, cal_data); + fetch.provide_data(listener); if (!link.has_error && !link.reply_abort) worked = true; } finally { |