altosdroid: Fix offline map messages to match new meanings
[fw/altos] / altoslib / AltosSensorTM.java
index 76bf8a77b3feb08ad66c7b0aab90eef36036fc51..a25f4d1962474eaeedd613ba6af8d7eec1fe6ed4 100644 (file)
@@ -16,7 +16,7 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.altoslib_12;
+package org.altusmetrum.altoslib_13;
 
 import java.util.concurrent.TimeoutException;
 
@@ -29,9 +29,10 @@ public class AltosSensorTM {
        public int      drogue;
        public int      main;
 
-       static public void provide_data(AltosDataListener listener, AltosLink link, AltosCalData cal_data) throws InterruptedException {
+       static public void provide_data(AltosDataListener listener, AltosLink link) throws InterruptedException {
                try {
                        AltosSensorTM   sensor_tm = new AltosSensorTM(link);
+                       AltosCalData    cal_data = listener.cal_data();
 
                        if (sensor_tm == null)
                                return;