altoslib: Make cal_data private in AltosDataListener
[fw/altos] / altoslib / AltosIdleReader.java
index 5f9ceca31bee0564a3c617bdee9884029aef77c1..d15e217487f482815e29281a8fece2c3016e7b98 100644 (file)
@@ -72,7 +72,7 @@ public class AltosIdleReader extends AltosFlightReader {
                                start_link();
                                if (state == null)
                                        state = new AltosState(cal_data());
-                               fetch.provide_data(state, state.cal_data);
+                               fetch.provide_data(state);
                                if (!link.has_error && !link.reply_abort)
                                        worked = true;
                        } catch (TimeoutException te) {