From: Spencer Oliver Date: Sun, 28 Feb 2010 22:37:53 +0000 (+0000) Subject: FT2232: add missing enum when using ftd2xx library X-Git-Tag: v0.5.0-rc1~897 X-Git-Url: https://review.openocd.org/gitweb?a=commitdiff_plain;h=73c1cff7c242566d995e7b77de0fcec9fe50a6bb;p=openocd.git FT2232: add missing enum when using ftd2xx library Signed-off-by: Spencer Oliver --- diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 43e7b9fbe1..38195c7872 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -86,6 +86,16 @@ /* FT2232 access library includes */ #if BUILD_FT2232_FTD2XX == 1 #include + +enum ftdi_interface +{ + INTERFACE_ANY = 0, + INTERFACE_A = 1, + INTERFACE_B = 2, + INTERFACE_C = 3, + INTERFACE_D = 4 +}; + #elif BUILD_FT2232_LIBFTDI == 1 #include #endif