From: Keith Packard Date: Tue, 9 May 2017 07:17:11 +0000 (-0700) Subject: altoslib: Add empty constructor for AltosPyro for JSON X-Git-Tag: 1.8~134 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=d3c1ce741c54c5640b7e1b07d86be1ce0951944b altoslib: Add empty constructor for AltosPyro for JSON Signed-off-by: Keith Packard --- 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);