X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altoslib%2FAltosTelemetryStandard.java;h=35d315c7972963b4b3ea1b9bfa447704c70e5d2a;hb=217d77dadbef4192d2f32e290a5c5f50159f2e0d;hp=dea9c29e16950f9f138490bc6927505976f3be25;hpb=97adfff4cfb67c17a96f3ff46606b4e439422b01;p=fw%2Faltos diff --git a/altoslib/AltosTelemetryStandard.java b/altoslib/AltosTelemetryStandard.java index dea9c29e..35d315c7 100644 --- a/altoslib/AltosTelemetryStandard.java +++ b/altoslib/AltosTelemetryStandard.java @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -83,8 +84,11 @@ public abstract class AltosTelemetryStandard extends AltosTelemetry { case packet_type_metrum_data: telem = new AltosTelemetryMetrumData(bytes); break; - case packet_type_mini: - telem = new AltosTelemetryMini(bytes); + case packet_type_mini2: + telem = new AltosTelemetryMini2(bytes); + break; + case packet_type_mini3: + telem = new AltosTelemetryMini3(bytes); break; default: telem = new AltosTelemetryRaw(bytes);