]> git.sur5r.net Git - openocd/commitdiff
FT2232: add missing enum when using ftd2xx library
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Sun, 28 Feb 2010 22:37:53 +0000 (22:37 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Sun, 28 Feb 2010 22:48:51 +0000 (22:48 +0000)
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/jtag/drivers/ft2232.c

index 43e7b9fbe148ac655ab747748718bfbecc4d548f..38195c787294003be40e9825e22df2760a932295 100644 (file)
 /* FT2232 access library includes */
 #if BUILD_FT2232_FTD2XX == 1
 #include <ftd2xx.h>
+
+enum ftdi_interface
+{
+    INTERFACE_ANY = 0,
+    INTERFACE_A   = 1,
+    INTERFACE_B   = 2,
+    INTERFACE_C   = 3,
+    INTERFACE_D   = 4
+};
+
 #elif BUILD_FT2232_LIBFTDI == 1
 #include <ftdi.h>
 #endif