git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
edb82cb
)
documenation fix
author
Thomas Jarosch
<opensource@intra2net.com>
Sun, 12 Jun 2005 10:52:40 +0000 (10:52 +0000)
committer
Thomas Jarosch
<opensource@intra2net.com>
Sun, 12 Jun 2005 10:52:40 +0000 (10:52 +0000)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
5bfc27c
..
96810dd
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-170,6
+170,13
@@
void ftdi_list_free(struct ftdi_device_list **devlist)
devlist = NULL;
}
+/* ftdi_usb_open
+
+ Opens the first device with a given vendor and product ids.
+
+ Return codes:
+ See ftdi_usb_open_desc()
+*/
int ftdi_usb_open(struct ftdi_context *ftdi, int vendor, int product)
{
return ftdi_usb_open_desc(ftdi, vendor, product, NULL, NULL);