Add a ftdi_usb_open_bus_port() function
authorMaxwell Dreytser <admin@mdtech.us>
Fri, 21 Apr 2017 16:01:24 +0000 (18:01 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 21 Apr 2017 16:01:24 +0000 (18:01 +0200)
commit814e69f509963067d3b1432269e96c667ed31dda
tree4265fd2569a1be7424f743b240a86362608b8c46
parent7964636842a44bcfad9416b90483770f7cb172fa
Add a ftdi_usb_open_bus_port() function

[Thomas Jarosch] from the libftdi mailinglist:

This patch adds a function that will open using the specified bus and
port. I don't know how useful it would be to others, but I decided to
submit it cause why not. I pretty much just copied
"ftdi_usb_open_desc_index" and modified the parameters and loop.
src/ftdi.c
src/ftdi.h