The branch, eeprom-new has been updated
via 85e6c679c6f23cfd78b9fe912b11752cf499c5ff (commit)
from ac0af8ec4e70b4c4137f34df8efb61546794720d (commit)
- Log -----------------------------------------------------------------
commit 85e6c679c6f23cfd78b9fe912b11752cf499c5ff
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 16:08:23 2011 +0100
Remove duplicate init code
Conflicts:
src/ftdi.c
-----------------------------------------------------------------------
Summary of changes:
src/ftdi.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/src/ftdi.c b/src/ftdi.c
index 202306c..59daedc 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -557,19 +557,6 @@ int ftdi_usb_open_dev(struct ftdi_context *ftdi,
libusb_device *dev)
else if (desc.bcdDevice == 0x800)
ftdi->type = TYPE_4232H;
- // Set default interface on dual/quad type chips
- switch (ftdi->type)
- {
- case TYPE_2232C:
- case TYPE_2232H:
- case TYPE_4232H:
- if (!ftdi->index)
- ftdi->index = INTERFACE_A;
- break;
- default:
- break;
- }
-
// Determine maximum packet size
ftdi->max_packet_size = _ftdi_determine_max_packet_size(ftdi, dev);
hooks/post-receive
--
port libftdi to libusb-1.0
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|