Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
openocd
Commits
73c1cff7
Commit
73c1cff7
authored
Feb 28, 2010
by
Spencer Oliver
Browse files
FT2232: add missing enum when using ftd2xx library
Signed-off-by:
Spencer Oliver
<
ntfreak@users.sourceforge.net
>
parent
8d13a466
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jtag/drivers/ft2232.c
View file @
73c1cff7
...
@@ -86,6 +86,16 @@
...
@@ -86,6 +86,16 @@
/* FT2232 access library includes */
/* FT2232 access library includes */
#if BUILD_FT2232_FTD2XX == 1
#if BUILD_FT2232_FTD2XX == 1
#include
<ftd2xx.h>
#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
#elif BUILD_FT2232_LIBFTDI == 1
#include
<ftdi.h>
#include
<ftdi.h>
#endif
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment