summaryrefslogtreecommitdiff
path: root/src/jtag/ft2232.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-09 05:55:23 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-09 05:55:23 +0000
commit2585fc34200938fb3fa55a450ea37f68012aafa7 (patch)
tree1b43cf1f32e7ac5f52596fe7660923a7f63b8927 /src/jtag/ft2232.c
parenta0647227439434c4a71470e336ec8715d43d0501 (diff)
downloadopenocd_libswd-2585fc34200938fb3fa55a450ea37f68012aafa7.tar.gz
openocd_libswd-2585fc34200938fb3fa55a450ea37f68012aafa7.tar.bz2
openocd_libswd-2585fc34200938fb3fa55a450ea37f68012aafa7.tar.xz
openocd_libswd-2585fc34200938fb3fa55a450ea37f68012aafa7.zip
Don Porges fixed c99 issues.
git-svn-id: svn://svn.berlios.de/openocd/trunk@553 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/ft2232.c')
-rw-r--r--src/jtag/ft2232.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c
index 20824bbb..2740c3be 100644
--- a/src/jtag/ft2232.c
+++ b/src/jtag/ft2232.c
@@ -46,9 +46,6 @@
#include <ftdi.h>
#endif
-#include <sys/time.h>
-#include <time.h>
-
/* enable this to debug io latency
*/
#if 0
@@ -455,11 +452,11 @@ void ft2232_add_pathmove(pathmove_command_t *cmd)
state_count = 0;
while (num_states)
{
- tms_byte = 0x0;
int bit_count = 0;
int num_states_batch = num_states > 7 ? 7 : num_states;
+ tms_byte = 0x0;
/* command "Clock Data to TMS/CS Pin (no Read)" */
BUFFER_ADD = 0x4b;
/* number of states remaining */