Hi Thomas,
you are right, changed the setting of the usb-device into the
Context::get_strings_and_reopen() function.
Attached patch is now for the master branch as you requested. anyway i think
this patch should also be applied in the libftdi0.19 branch
as -- in my view -- it is a major bug in the cpp-wrapper.
greetings,
Pit
----- Original Nachricht ----
Von: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
An: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Datum: 09.01.2012 16:55
Betreff: Re: Bug in libftdipp open()-methods
> Hi pit,
>
> On Tuesday, 3. January 2012 11:25:07 Peter Schneider wrote:
> > Hello and a happy new year,
>
> Same to you!
>
> > as I wrote about a year ago there is a bug in the cpp wrapper of the
> > libftdi that prevents the three open methods, that does not get the
> > usb-device as parameter, from working properly and keeping the
> > connection opened. The patch added to this mail solves this bug only
> > with a minor change in the corresponding open functions in the cpp
> > wrapper. The patch attached is dedicated to libftdi0.19 but the same
> > problem should be fixed within the cpp wrapper of libftdi1.
>
> Thanks for working on this. I think it's still broken as the
> Context::get_strings_and_reopen() function needs the same fix?
>
> Also I would prefer it if development like this is done
> for the "master" branch, but that's another topic.
>
> Cheers,
> Thomas
>
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
0001-cpp-wrapper.patch
Description: Text Data
|