10 Jan 2011 14:52
Re: [PATCH] Proper initialisation of interface A.
Thomas Jarosch <thomas.jarosch <at> intra2net.com>
2011-01-10 13:52:06 GMT
2011-01-10 13:52:06 GMT
Hello Vladimir, On Thursday, 30. December 2010 13:33:05 Vladimir Yakovlev wrote: > > There's also code in ftdi_usb_open_dev() to set interface A, > > maybe we can get rid of that? > > This code do nothing (tested on FT2232H). Index alyaws set to 0, even > without my patch by ftdi_init() ftdi_usb_open_dev() gets called after ftdi_init(). The switch should set the "ftdi->index" to INTERFACE_A if "ftdi->type == TYPE_2232H" and it checks for "if !(ftdi->index)". Please correct me if I'm wrong. It still does the same as ftdi_set_interface(), so I'll remove it. Thomas -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to libftdi+unsubscribe <at> developer.intra2net.com
RSS Feed