From 22800dc094797e1e0ad99124198809d0360f7556 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 17 Aug 2010 18:22:28 -0700 Subject: 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 --- ao-tools/altosui/AltosUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ao-tools/altosui/AltosUI.java') 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 { -- cgit v1.2.3