diff options
| author | Keith Packard <keithp@keithp.com> | 2010-08-17 18:22:28 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-08-17 18:22:28 -0700 |
| commit | 22800dc094797e1e0ad99124198809d0360f7556 (patch) | |
| tree | 73278976e480323a748a85dda3a2ffa66cf75996 /ao-tools/altosui/AltosUI.java | |
| parent | d14c96663a1027164fa30ed89b53f5a9d3fdb82b (diff) | |
altosui: Select devices by USB vendor/product ID.
Because Win7 doesn't expose the product name, we're swtiching to using
the USB idProduct/idVendor values. This patch adds support for
selecting devices by those new IDs.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosUI.java')
| -rw-r--r-- | ao-tools/altosui/AltosUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosUI.java b/ao-tools/altosui/AltosUI.java index 7d5ac93a..b96e16a6 100644 --- a/ao-tools/altosui/AltosUI.java +++ b/ao-tools/altosui/AltosUI.java @@ -413,7 +413,7 @@ public class AltosUI extends JFrame { } private void ConnectToDevice() { - altos_device device = AltosDeviceDialog.show(AltosUI.this, "TeleDongle"); + AltosDevice device = AltosDeviceDialog.show(AltosUI.this, AltosDevice.BaseStation); if (device != null) { try { |
