This is an automated email from Gerrit.

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

-- gerrit

commit 116fc991550b15e145a51180657323635991f44a
Author: Rodrigo Melo <[email protected]>
Date:   Mon Jan 14 12:27:11 2013 -0300

    ft2232: ft2232_channel option added
    
    With this option a different channel of the ft2232 chip can be selected 
using
    a previously existing layout. It was made for a partner called Salvador
    Tropea.
    
    Change-Id: I94f7a20f9aed0c1358c51854fc536f53abdd15d0
    Signed-off-by: Rodrigo Melo <[email protected]>

diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
index 6dce860..94f260e 100644
--- a/src/jtag/drivers/ft2232.c
+++ b/src/jtag/drivers/ft2232.c
@@ -3257,9 +3257,8 @@ COMMAND_HANDLER(ft2232_handle_channel_command)
 {
        if (CMD_ARGC == 1) {
                ft2232_channel = atoi(CMD_ARGV[0]);
-               if (ft2232_channel < 0 || ft2232_channel > 4) {
+               if (ft2232_channel < 0 || ft2232_channel > 4)
                        LOG_ERROR("ft2232_channel must be in the 0 to 4 range");
-               }
        }
        else
        {

-- 

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to