From: Keith Packard Date: Sun, 14 Aug 2011 01:38:38 +0000 (-0700) Subject: altos: Don't try to use non-basestations for remote eeprom download X-Git-Tag: 0.9.6.0~19 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=578c4b17b8f62f2727654ebda78ee139f9fe13fa;p=fw%2Faltos altos: Don't try to use non-basestations for remote eeprom download Companion boards may also have eeprom data to fetch; don't try to use them as a radio. Signed-off-by: Keith Packard --- diff --git a/altosui/AltosEepromManage.java b/altosui/AltosEepromManage.java index cd2b74fe..0652ca04 100644 --- a/altosui/AltosEepromManage.java +++ b/altosui/AltosEepromManage.java @@ -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);