diff options
author | Keith Packard <keithp@keithp.com> | 2011-04-14 10:12:29 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-04-14 10:12:29 -0700 |
commit | 9cdef76c1275b343099d0d01af82d7eadd36a410 (patch) | |
tree | a5500996924c35b365013bbae61128ee1328c64b /altosui/AltosConfig.java | |
parent | 5b3f18b38d80aa041b971204bf7a94278bd9584a (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/AltosConfig.java')
-rw-r--r-- | altosui/AltosConfig.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosConfig.java b/altosui/AltosConfig.java index f45e2040..c5de83f2 100644 --- a/altosui/AltosConfig.java +++ b/altosui/AltosConfig.java @@ -344,11 +344,11 @@ public class AltosConfig implements ActionListener { version = new string_ref("unknown"); product = new string_ref("unknown"); - device = AltosDeviceDialog.show(owner, AltosDevice.product_any); + device = AltosDeviceDialog.show(owner, Altos.product_any); if (device != null) { try { serial_line = new AltosSerial(device); - if (!device.matchProduct(AltosDevice.product_telemetrum)) + if (!device.matchProduct(Altos.product_telemetrum)) remote = true; try { init_ui(); |