Remove the check for the root dev. The required functionality is only
available in recent versions of libusb, and the check isn't really needed anyway (as the check for vendor and product ID will cover that as well). git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@479 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
f5882fc781
commit
899ef71424
|
@ -101,9 +101,6 @@ static int usbdev_open(char * port, long baud)
|
|||
|
||||
for (bus = usb_busses; bus; bus = bus->next)
|
||||
{
|
||||
if (bus->root_dev)
|
||||
continue;
|
||||
|
||||
for (dev = bus->devices; dev; dev = dev->next)
|
||||
{
|
||||
udev = usb_open(dev);
|
||||
|
|
Loading…
Reference in New Issue