libftdi Archives

Subject: Bug in libftdipp

From: "Hermann Kraus" <herm@xxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 16 Aug 2010 00:15:40 +0200
Hello!

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);

Hermann

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
Current Thread