diff options
| author | Keith Packard <keithp@keithp.com> | 2014-09-09 09:37:13 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-09-09 09:37:13 -0700 | 
| commit | cef3be371cb3a9e481c2bd6abdf22c51953773f1 (patch) | |
| tree | 0bd4fb69a1f8bb7ca7efda6aa2adb0a4f7ce6d0b /altoslib/AltosLib.java | |
| parent | 08a82617c53718055d97df4fa60f3e5051d65383 (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 'altoslib/AltosLib.java')
| -rw-r--r-- | altoslib/AltosLib.java | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/altoslib/AltosLib.java b/altoslib/AltosLib.java index c3c1226e..2e9dc648 100644 --- a/altoslib/AltosLib.java +++ b/altoslib/AltosLib.java @@ -112,6 +112,7 @@ public class AltosLib {  	public final static int product_telegps = 0x0025;  	public final static int product_easymini = 0x0026;  	public final static int product_telemini = 0x0027; +	public final static int product_easymega = 0x0028;  	public final static int product_altusmetrum_min = 0x000a;  	public final static int product_altusmetrum_max = 0x002c; @@ -143,7 +144,8 @@ public class AltosLib {  		new Product("megadongle", product_megadongle),  		new Product("telegps", product_telegps),  		new Product("easymini", product_easymini), -		new Product("telemini", product_telemini) +		new Product("telemini", product_telemini), +		new Product("easymega", product_easymega)  	};  	public static int name_to_product(String name) { | 
