summaryrefslogtreecommitdiff
path: root/altosui/AltosEepromManage.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-14 10:12:29 -0700
committerKeith Packard <keithp@keithp.com>2011-04-14 10:12:29 -0700
commit9cdef76c1275b343099d0d01af82d7eadd36a410 (patch)
treea5500996924c35b365013bbae61128ee1328c64b /altosui/AltosEepromManage.java
parent5b3f18b38d80aa041b971204bf7a94278bd9584a (diff)
altosui: Create abstract AltosDevice class
This will wrap either USB or BT devices. The USB device constants have been moved to Altos.java Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromManage.java')
-rw-r--r--altosui/AltosEepromManage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosEepromManage.java b/altosui/AltosEepromManage.java
index b46364db..cd2b74fe 100644
--- a/altosui/AltosEepromManage.java
+++ b/altosui/AltosEepromManage.java
@@ -197,7 +197,7 @@ public class AltosEepromManage implements ActionListener {
boolean running = false;
frame = given_frame;
- device = AltosDeviceDialog.show(frame, AltosDevice.product_any);
+ device = AltosDeviceDialog.show(frame, Altos.product_any);
remote = false;
any_download = false;
@@ -206,7 +206,7 @@ public class AltosEepromManage implements ActionListener {
if (device != null) {
try {
serial_line = new AltosSerial(device);
- if (!device.matchProduct(AltosDevice.product_telemetrum))
+ if (!device.matchProduct(Altos.product_telemetrum))
remote = true;
serial_line.set_frame(frame);