Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
openocd
Commits
39f76220
Commit
39f76220
authored
Apr 25, 2009
by
mlu
Browse files
Corrected statement order
git-svn-id:
svn://svn.berlios.de/openocd/trunk@1528
b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent
773ebb6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jtag/ft2232.c
View file @
39f76220
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment