ft2232: fix log message and change log output to debug

This commit is contained in:
Mathias K 2011-03-03 10:28:21 +01:00 committed by Øyvind Harboe
parent df500c5a04
commit 0123985abc
1 changed files with 1 additions and 1 deletions

View File

@ -2100,7 +2100,7 @@ static int ft2232_execute_queue(void)
if (ft2232_expect_read >= FT2232_BUFFER_READ_QUEUE_SIZE ) if (ft2232_expect_read >= FT2232_BUFFER_READ_QUEUE_SIZE )
{ {
if (ft2232_expect_read > (FT2232_BUFFER_READ_QUEUE_SIZE+1) ) if (ft2232_expect_read > (FT2232_BUFFER_READ_QUEUE_SIZE+1) )
LOG_WARNING("read buffer size looks to high"); LOG_DEBUG("read buffer size looks too high %d/%d",ft2232_expect_read,(FT2232_BUFFER_READ_QUEUE_SIZE+1));
if (ft2232_send_and_recv(first_unsent, cmd) != ERROR_OK) if (ft2232_send_and_recv(first_unsent, cmd) != ERROR_OK)
retval = ERROR_JTAG_QUEUE_FAILED; retval = ERROR_JTAG_QUEUE_FAILED;
first_unsent = cmd; first_unsent = cmd;