recognize EasyMotor-v3 too
authorBdale Garbee <bdale@gag.com>
Sun, 10 Apr 2022 03:50:21 +0000 (22:50 -0500)
committerBdale Garbee <bdale@gag.com>
Sun, 10 Apr 2022 03:50:21 +0000 (22:50 -0500)
altoslib/AltosConfigData.java

index cd649113b1a6b8293b3766f05a74f97ae6f79d0b..da6e7bfc6d8199b228e0b8918219c3fafb6038b2 100644 (file)
@@ -662,6 +662,8 @@ public class AltosConfigData {
                                return true;
                        if (product.startsWith("EasyMotor-v2"))
                                return true;
+                       if (product.startsWith("EasyMotor-v3"))
+                               return true;
                }
                throw new AltosUnknownProduct(product);
        }
@@ -676,6 +678,8 @@ public class AltosConfigData {
                                return AltosAdxl375.X_AXIS;
                        if (product.startsWith("EasyMotor-v2"))
                                return AltosAdxl375.X_AXIS;
+                       if (product.startsWith("EasyMotor-v3"))
+                               return AltosAdxl375.X_AXIS;
 
                }
                throw new AltosUnknownProduct(product);