summaryrefslogtreecommitdiff
path: root/altosuilib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-09-09 09:37:13 -0700
committerKeith Packard <keithp@keithp.com>2014-09-09 09:37:13 -0700
commitcef3be371cb3a9e481c2bd6abdf22c51953773f1 (patch)
tree0bd4fb69a1f8bb7ca7efda6aa2adb0a4f7ce6d0b /altosuilib
parent08a82617c53718055d97df4fa60f3e5051d65383 (diff)
altoslib/altosuilib: Add EasyMega support
This makes flashing find the right files, and Monitor Idle show all of the state data. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib')
-rw-r--r--altosuilib/AltosFlashUI.java1
-rw-r--r--altosuilib/AltosUSBDevice.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/altosuilib/AltosFlashUI.java b/altosuilib/AltosFlashUI.java
index 0ed4e75d..44be2a90 100644
--- a/altosuilib/AltosFlashUI.java
+++ b/altosuilib/AltosFlashUI.java
@@ -213,6 +213,7 @@ public class AltosFlashUI
new AltosHexfileFilter(AltosLib.product_teledongle, "teledongle", "TeleDongle Image"),
new AltosHexfileFilter(AltosLib.product_telemega, "telemega", "TeleMega Image"),
new AltosHexfileFilter(AltosLib.product_easymini, "easymini", "EasyMini Image"),
+ new AltosHexfileFilter(AltosLib.product_easymega, "easymega", "EasyMega Image"),
};
boolean select_source_file() {
diff --git a/altosuilib/AltosUSBDevice.java b/altosuilib/AltosUSBDevice.java
index a8323704..f4906a73 100644
--- a/altosuilib/AltosUSBDevice.java
+++ b/altosuilib/AltosUSBDevice.java
@@ -79,6 +79,7 @@ public class AltosUSBDevice extends altos_device implements AltosDevice {
if (want_product == AltosUILib.product_altimeter)
return have_product == AltosUILib.product_telemetrum ||
have_product == AltosUILib.product_telemega ||
+ have_product == AltosUILib.product_easymega ||
have_product == AltosUILib.product_telegps ||
have_product == AltosUILib.product_easymini ||
have_product == AltosUILib.product_telemini;