projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Add STM SPI debugging
[fw/altos]
/
altoslib
/
AltosCompanion.java
diff --git
a/altoslib/AltosCompanion.java
b/altoslib/AltosCompanion.java
index 87e701cfa6703375bab0f209ec433322c0cc2385..e228b074d8f5729ae77e822e081efa7ebdb16972 100644
(file)
--- a/
altoslib/AltosCompanion.java
+++ b/
altoslib/AltosCompanion.java
@@
-15,11
+15,11
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altoslib_
9
;
+package org.altusmetrum.altoslib_
11
;
import java.io.*;
import java.io.*;
-public class AltosCompanion
implements Serializable
{
+public class AltosCompanion {
public final static int board_id_telescience = 0x0a;
public final static int MAX_CHANNELS = 12;
public final static int board_id_telescience = 0x0a;
public final static int MAX_CHANNELS = 12;
@@
-37,4
+37,9
@@
public class AltosCompanion implements Serializable {
channels = MAX_CHANNELS;
companion_data = new int[channels];
}
channels = MAX_CHANNELS;
companion_data = new int[channels];
}
+
+ public AltosCompanion() {
+ channels = 0;
+ companion_data = new int[0];
+ }
}
}