altoslib: Add empty constructor for AltosPyro for JSON
authorKeith Packard <keithp@keithp.com>
Tue, 9 May 2017 07:17:11 +0000 (00:17 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 9 May 2017 07:17:11 +0000 (00:17 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosPyro.java

index 33d7486ce628cbf83d8f81a7d36b1f6b53a58ac0..80884b9f01888005b67ce87be48c5b63ac6d3483 100644 (file)
@@ -290,6 +290,10 @@ public class AltosPyro {
                }
        }
 
+       public AltosPyro() {
+               this(0);
+       }
+
        public String toString() {
                String  ret = String.format("%d", channel);