diff options
author | Keith Packard <keithp@keithp.com> | 2017-05-09 00:17:11 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-05-09 00:17:11 -0700 |
commit | d3c1ce741c54c5640b7e1b07d86be1ce0951944b (patch) | |
tree | 8e131b39a4d668452293ab99f7b83b4fefdd3b40 | |
parent | c17b78e60c340c8a3e3d6f9b875667c66216647a (diff) |
altoslib: Add empty constructor for AltosPyro for JSON
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altoslib/AltosPyro.java | 4 |
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); |