summaryrefslogtreecommitdiff
path: root/altoslib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-09 00:17:11 -0700
committerKeith Packard <keithp@keithp.com>2017-05-09 00:17:11 -0700
commitd3c1ce741c54c5640b7e1b07d86be1ce0951944b (patch)
tree8e131b39a4d668452293ab99f7b83b4fefdd3b40 /altoslib
parentc17b78e60c340c8a3e3d6f9b875667c66216647a (diff)
altoslib: Add empty constructor for AltosPyro for JSON
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib')
-rw-r--r--altoslib/AltosPyro.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/altoslib/AltosPyro.java b/altoslib/AltosPyro.java
index 33d7486c..80884b9f 100644
--- a/altoslib/AltosPyro.java
+++ b/altoslib/AltosPyro.java
@@ -290,6 +290,10 @@ public class AltosPyro {
}
}
+ public AltosPyro() {
+ this(0);
+ }
+
public String toString() {
String ret = String.format("%d", channel);