Browse Source

Corrected statement order

git-svn-id: svn://svn.berlios.de/openocd/trunk@1528 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.2.0
mlu 15 years ago
parent
commit
39f76220a8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/jtag/ft2232.c

+ 2
- 2
src/jtag/ft2232.c View File

@@ -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)


Loading…
Cancel
Save