projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update changelogs for Debian build
[fw/altos]
/
ao-tools
/
altosui
/
AltosDevice.java
diff --git
a/ao-tools/altosui/AltosDevice.java
b/ao-tools/altosui/AltosDevice.java
index 0e7d01da757cf1f7e2729c6a4be038c2133fb873..f488174cf7677e3dc345b1a6875b78d2f5e41d7a 100644
(file)
--- a/
ao-tools/altosui/AltosDevice.java
+++ b/
ao-tools/altosui/AltosDevice.java
@@
-42,7
+42,8
@@
public class AltosDevice extends altos_device {
AltosDevice device = new AltosDevice();
if (libaltos.altos_list_next(list, device) == 0)
break;
AltosDevice device = new AltosDevice();
if (libaltos.altos_list_next(list, device) == 0)
break;
- device_list.add(device);
+ if (product == null || device.getProduct().startsWith(product))
+ device_list.add(device);
}
libaltos.altos_list_finish(list);
}
}
libaltos.altos_list_finish(list);
}