Hermann,
On Monday, 16. August 2010 00:15:40 Hermann Kraus wrote:
> Libftdipp contains the following code:
>
> int Context::set_bitmode(unsigned char bitmask, unsigned char mode)
> {
> return set_bitmode(bitmask, mode);
> }
>
> This is simply an infinite recursion.
>
> I'm not sure what this code is intended to do, I can only guess that the
> body of this function should be
> return ftdi_set_bitmode(d->ftdi, bitmask, mode);
According to the git commit, the idea was to call the second
set_bitmode(enum ftdi_mpsse_mode mode) function.
Though currently it's an infinite recursion...
I'll apply your change, it's the simplest solution.
Thanks,
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|