Reverted package name to 'altosui' from 'AltosUI'
[fw/altos] / altosui / AltosUSBDevice.java
index b11a3934b1376906974eab03cdf02b8c698f3817..ed5f8307d178bba720de462c47b358e3f4f4ddf4 100644 (file)
@@ -71,7 +71,12 @@ public class AltosUSBDevice  extends altos_device implements AltosDevice {
                if (want_product == Altos.product_basestation)
                        return matchProduct(Altos.product_teledongle) ||
                                matchProduct(Altos.product_teleterra) ||
-                               matchProduct(Altos.product_telebt);
+                               matchProduct(Altos.product_telebt) ||
+                               matchProduct(Altos.product_megadongle);
+
+               if (want_product == Altos.product_altimeter)
+                       return matchProduct(Altos.product_telemetrum) ||
+                               matchProduct(Altos.product_megametrum);
 
                int have_product = getProduct();