This is an automated email from Gerrit.

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

-- gerrit

commit 34515dd5c78235c9977f20474232a712d765fcc7
Author: Diego Herranz <[email protected]>
Date:   Fri Feb 22 09:29:03 2019 +0000

    src/jtag/drivers/ftdi: remove pin 1 comment
    
    "pin 1" is not strictly correct and in fact, we don't even need to
    mention which pin number it is. "TDI/DO pin" is descriptive enough.
    
    Change-Id: I9668f8c7fb48c786c6e9b5277cefb1e8892a7785
    Signed-off-by: Diego Herranz <[email protected]>

diff --git a/src/jtag/drivers/ftdi.c b/src/jtag/drivers/ftdi.c
index 9b7d4b2..b06a792 100644
--- a/src/jtag/drivers/ftdi.c
+++ b/src/jtag/drivers/ftdi.c
@@ -1080,7 +1080,7 @@ static void ftdi_swd_swdio_en(bool enable)
                if (oe->data_mask)
                        ftdi_set_signal(oe, enable ? '1' : '0');
                else {
-                       /* Sets TDI/DO pin (pin 1) to input during rx when both 
pins are connected
+                       /* Sets TDI/DO pin to input during rx when both pins 
are connected
                           to SWDIO */
                        if (enable)
                                direction |= jtag_direction_init & 0x0002U;

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to