projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/stmf0: Use double buffering for ChaosKey
[fw/altos]
/
altoslib
/
AltosMag.java
diff --git
a/altoslib/AltosMag.java
b/altoslib/AltosMag.java
index e24fa11dafd9031209041739aefde6ccc5e19642..0d8ec69fec6ecf85bd448d988b4de25577169673 100644
(file)
--- a/
altoslib/AltosMag.java
+++ b/
altoslib/AltosMag.java
@@
-16,7
+16,7
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altoslib_1
1
;
+package org.altusmetrum.altoslib_1
2
;
import java.util.concurrent.*;
import java.io.*;
import java.util.concurrent.*;
import java.io.*;
@@
-62,9
+62,10
@@
public class AltosMag implements Cloneable {
y = AltosLib.MISSING;
}
y = AltosLib.MISSING;
}
- 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 {
AltosMag mag = new AltosMag(link);
try {
AltosMag mag = new AltosMag(link);
+ AltosCalData cal_data = listener.cal_data();
if (mag != null)
listener.set_mag(cal_data.mag_along(mag.y),
if (mag != null)
listener.set_mag(cal_data.mag_along(mag.y),