summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-13 18:38:38 -0700
committerKeith Packard <keithp@keithp.com>2011-08-13 18:44:52 -0700
commit578c4b17b8f62f2727654ebda78ee139f9fe13fa (patch)
tree5886b68814b6b6b42239c0bd241e0ab74cca3161
parentbf06af154e232d4caa1585a1d6d5279a075292e4 (diff)
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 <keithp@keithp.com>
-rw-r--r--altosui/AltosEepromManage.java2
1 files changed, 1 insertions, 1 deletions
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);