From 73c1cff7c242566d995e7b77de0fcec9fe50a6bb Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Sun, 28 Feb 2010 22:37:53 +0000 Subject: [PATCH] FT2232: add missing enum when using ftd2xx library Signed-off-by: Spencer Oliver --- src/jtag/drivers/ft2232.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 43e7b9fb..38195c78 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 -- 2.39.5