diff options
author | Keith Packard <keithp@keithp.com> | 2012-06-17 18:58:56 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-06-17 18:58:56 -0700 |
commit | 55747ce210d7d80d5b4fdaaf9dc7ee0f7bc8b0a3 (patch) | |
tree | d69ca8e3068bfd8fc6a338ddd2286870deb09dd6 /altosui/AltosDeviceDialog.java | |
parent | e6d236fdc615625fbbf28377453f920729e49b0f (diff) |
altosui: Move product definitions from AltosUI to AltosLib
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosDeviceDialog.java')
-rw-r--r-- | altosui/AltosDeviceDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosDeviceDialog.java b/altosui/AltosDeviceDialog.java index e53e75c1..fa9d0013 100644 --- a/altosui/AltosDeviceDialog.java +++ b/altosui/AltosDeviceDialog.java @@ -41,7 +41,7 @@ public class AltosDeviceDialog extends AltosDialog implements ActionListener { private AltosDevice[] devices() { java.util.List<AltosDevice> usb_devices = AltosUSBDevice.list(product); int num_devices = usb_devices.size(); - java.util.List<AltosDevice> bt_devices = Altos.bt_known.list(product); + java.util.List<AltosDevice> bt_devices = AltosBTKnown.bt_known().list(product); num_devices += bt_devices.size(); AltosDevice[] devices = new AltosDevice[num_devices]; @@ -169,7 +169,7 @@ public class AltosDeviceDialog extends AltosDialog implements ActionListener { if ("select".equals(e.getActionCommand())) value = (AltosDevice)(list.getSelectedValue()); if ("manage".equals(e.getActionCommand())) { - AltosBTManage.show(frame, Altos.bt_known); + AltosBTManage.show(frame, AltosBTKnown.bt_known()); update_devices(); return; } |