Commit 73c1cff7 authored by Spencer Oliver's avatar Spencer Oliver
Browse files

FT2232: add missing enum when using ftd2xx library


Signed-off-by: default avatarSpencer Oliver <ntfreak@users.sourceforge.net>
parent 8d13a466
...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment