projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1dce20f
)
altoslib: Add null constructor for AltosCompanion
author
Keith Packard
<keithp@keithp.com>
Fri, 17 Jun 2016 15:17:15 +0000
(08:17 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 17 Jun 2016 15:17:15 +0000
(08:17 -0700)
This lets it be used by the JSON code.
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosCompanion.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosCompanion.java
b/altoslib/AltosCompanion.java
index d517fd4fd87f9bdf359db473c4ddce7f7dac46fe..e228b074d8f5729ae77e822e081efa7ebdb16972 100644
(file)
--- a/
altoslib/AltosCompanion.java
+++ b/
altoslib/AltosCompanion.java
@@
-37,4
+37,9
@@
public class AltosCompanion {
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];
+ }
}
}