X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=ftdipp%2Fftdi.hpp;h=d85371781e3462448ae6d50c0193c4a4731d77f5;hp=2ac4bc2d97d9c844ed0651bfca4433ed5774731d;hb=1c9c026df9109d8bc6c5e45104fc03cff9827c03;hpb=f14f84d3ab33c785903e5b4fb615076f9cbcefad diff --git a/ftdipp/ftdi.hpp b/ftdipp/ftdi.hpp index 2ac4bc2..d853717 100644 --- a/ftdipp/ftdi.hpp +++ b/ftdipp/ftdi.hpp @@ -32,7 +32,7 @@ on this file might be covered by the GNU General Public License. #include #include #include -#include "ftdi.h" +#include namespace Ftdi { @@ -123,7 +123,6 @@ public: /* BitBang mode */ int set_bitmode(unsigned char bitmask, unsigned char mode); int set_bitmode(unsigned char bitmask, enum ftdi_mpsse_mode mode); - int DEPRECATED(bitbang_enable(unsigned char bitmask)); int bitbang_disable(); int read_pins(unsigned char *pins); @@ -175,7 +174,7 @@ public: List(struct ftdi_device_list* devlist = 0); ~List(); - static List* find_all(int vendor, int product); + static List* find_all(Context &context, int vendor, int product); /// List type storing "Context" objects typedef std::list ListType;