projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
773ebb6
)
Corrected statement order
author
mlu
<mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 25 Apr 2009 02:53:07 +0000
(
02:53
+0000)
committer
mlu
<mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 25 Apr 2009 02:53:07 +0000
(
02:53
+0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1528
b42882b7
-edfa-0310-969c-
e2dbd0fdcd60
src/jtag/ft2232.c
patch
|
blob
|
history
diff --git
a/src/jtag/ft2232.c
b/src/jtag/ft2232.c
index a985465347e8529861b3b22577360cea3ec33382..3075b1b495c81aa78f9eaa512987e99ba6b0749e 100644
(file)
--- a/
src/jtag/ft2232.c
+++ b/
src/jtag/ft2232.c
@@
-1590,13
+1590,13
@@
static int ft2232_execute_queue()
if (ft2232_execute_command(cmd) != ERROR_OK)
retval = ERROR_JTAG_QUEUE_FAILED;
/* Start reading input before FT2232 TX buffer fills up */
- if (ft2232_expect_read > 280)
+ cmd = cmd->next;
+ if (ft2232_expect_read > 256)
{
if (ft2232_send_and_recv(first_unsent, cmd) != ERROR_OK)
retval = ERROR_JTAG_QUEUE_FAILED;
first_unsent = cmd;
}
- cmd = cmd->next;
}
if (require_send > 0)