diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-02-28 22:37:53 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-02-28 22:48:51 +0000 |
commit | 73c1cff7c242566d995e7b77de0fcec9fe50a6bb (patch) | |
tree | 6c880f20cd37dbcf2a5ca99437919e5efebdc368 | |
parent | 8d13a4662647c33901592f699fcf544d88cfe443 (diff) | |
download | riscv-openocd-73c1cff7c242566d995e7b77de0fcec9fe50a6bb.zip riscv-openocd-73c1cff7c242566d995e7b77de0fcec9fe50a6bb.tar.gz riscv-openocd-73c1cff7c242566d995e7b77de0fcec9fe50a6bb.tar.bz2 |
FT2232: add missing enum when using ftd2xx library
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
-rw-r--r-- | src/jtag/drivers/ft2232.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 43e7b9f..38195c7 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 <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 |