]> git.sur5r.net Git - openocd/commitdiff
ft2232: fix log message and change log output to debug
authorMathias K <kesmtp@freenet.de>
Thu, 3 Mar 2011 09:28:21 +0000 (10:28 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 3 Mar 2011 22:03:34 +0000 (23:03 +0100)
src/jtag/drivers/ft2232.c

index a84d069c9c4108f15be057289078f679338ecf9f..fdabb64eda93a52f040fd870b22cfd048eebb37b 100644 (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+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)
                                retval = ERROR_JTAG_QUEUE_FAILED;
                        first_unsent = cmd;