altos: Don't try to use non-basestations for remote eeprom download
authorKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 01:38:38 +0000 (18:38 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 01:44:52 +0000 (18:44 -0700)
Companion boards may also have eeprom data to fetch; don't try to use
them as a radio.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosEepromManage.java

index cd2b74fef448d6816ac25e23f5208ffa2367eb76..0652ca0498c06a401a589dbc838ff35a2648399a 100644 (file)
@@ -206,7 +206,7 @@ public class AltosEepromManage implements ActionListener {
                if (device != null) {
                        try {
                                serial_line = new AltosSerial(device);
-                               if (!device.matchProduct(Altos.product_telemetrum))
+                               if (device.matchProduct(Altos.product_basestation))
                                        remote = true;
 
                                serial_line.set_frame(frame);