X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altoslib%2FAltosIdleFetch.java;h=1ac075e394c13b01b03658c1a26857dbf053aac4;hp=2b92d729c0809b9db23e3f7a4cfd73adbbb48dc7;hb=HEAD;hpb=52d0c638343b2424cae08059f788a02efddee19a diff --git a/altoslib/AltosIdleFetch.java b/altoslib/AltosIdleFetch.java index 2b92d729..b64ba0a4 100644 --- a/altoslib/AltosIdleFetch.java +++ b/altoslib/AltosIdleFetch.java @@ -41,6 +41,7 @@ class AltosIdler { static final int idle_adxl375_easymotor_v2 = 11; static final int idle_imu = 12; static final int idle_imu_et_v2 = 13; + static final int idle_imu_em_v3 = 14; static final int idle_sensor_tm = 100; static final int idle_sensor_metrum = 101; @@ -56,6 +57,7 @@ class AltosIdler { static final int idle_sensor_easymotor2 = 111; static final int idle_sensor_emini3 = 112; static final int idle_sensor_etimer2 = 113; + static final int idle_sensor_emega3 = 114; public void provide_data(AltosDataListener listener, AltosLink link) throws InterruptedException, TimeoutException, AltosUnknownProduct { for (int idler : idlers) { @@ -257,6 +259,12 @@ public class AltosIdleFetch implements AltosDataProvider { AltosIdler.idle_ms5607, AltosIdler.idle_imu_em_v2, AltosIdler.idle_sensor_mega), + new AltosIdler("EasyMega-v3", + AltosIdler.idle_adxl375, + AltosIdler.idle_ms5607, + AltosIdler.idle_imu, + AltosIdler.idle_mag, + AltosIdler.idle_sensor_mega), new AltosIdler("TeleGPS-v1", AltosIdler.idle_gps, AltosIdler.idle_sensor_tgps1),