diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-09 05:55:23 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-09 05:55:23 +0000 |
commit | 2585fc34200938fb3fa55a450ea37f68012aafa7 (patch) | |
tree | 1b43cf1f32e7ac5f52596fe7660923a7f63b8927 /src/jtag/ft2232.c | |
parent | a0647227439434c4a71470e336ec8715d43d0501 (diff) |
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.c | 5 |
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 */ |