diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-08-22 22:16:35 +0100 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2012-09-27 14:11:24 +0000 |
commit | 0b118583f70c0169d4aa3b3fc83393cb007c60cd (patch) | |
tree | 32b1f6e6fcf6f6787ac0ac2e49c1535ecacca838 /src/jtag/drivers | |
parent | 4dd8f8aa40098114d98c369933e2715b207be735 (diff) | |
download | riscv-openocd-0b118583f70c0169d4aa3b3fc83393cb007c60cd.zip riscv-openocd-0b118583f70c0169d4aa3b3fc83393cb007c60cd.tar.gz riscv-openocd-0b118583f70c0169d4aa3b3fc83393cb007c60cd.tar.bz2 |
jtag: remove libftdi enum-compare warning
See Trac #52 for details.
Change-Id: Idb509ead2b51bfcceeb00d0224a4d1c395b28a04
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/801
Tested-by: jenkins
Reviewed-by: Olivier Schonken <olivier.schonken@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/jtag/drivers')
-rw-r--r-- | src/jtag/drivers/ft2232.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 1997aeb..6758dc7 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -135,7 +135,7 @@ enum ftdi_interface { #if BUILD_FT2232_FTD2XX == 1 enum { FT_DEVICE_2232H = 6, FT_DEVICE_4232H, FT_DEVICE_232H }; #elif BUILD_FT2232_LIBFTDI == 1 - enum { TYPE_2232H = 4, TYPE_4232H = 5, TYPE_232H = 6 }; + enum ftdi_chip_type { TYPE_2232H = 4, TYPE_4232H = 5, TYPE_232H = 6 }; #endif #endif |