This is an automated email from Gerrit.

Steven Stallion ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/4112

-- gerrit

commit ed517d180e024db8d77f5115c7803cc3c395bb9b
Author: Steven Stallion <[email protected]>
Date:   Mon May 1 13:59:38 2017 -0500

    ftdi: remove unhelpful debug messages
    
    Some protocols make use of empty scan fields for optional padding, which
    causes the log to fill with unhelpful messages that a field is empty.
    
    Change-Id: I61fd4551411ce851da34e67d003bca5d7a71cd92
    Signed-off-by: Steven Stallion <[email protected]>

diff --git a/src/jtag/drivers/ftdi.c b/src/jtag/drivers/ftdi.c
index 00fe37f..4da3ad2 100644
--- a/src/jtag/drivers/ftdi.c
+++ b/src/jtag/drivers/ftdi.c
@@ -439,7 +439,6 @@ static void ftdi_execute_scan(struct jtag_command *cmd)
        while (cmd->cmd.scan->num_fields > 0
                        && cmd->cmd.scan->fields[cmd->cmd.scan->num_fields - 
1].num_bits == 0) {
                cmd->cmd.scan->num_fields--;
-               LOG_DEBUG("discarding trailing empty field");
        }
 
        if (cmd->cmd.scan->num_fields == 0) {

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to