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/1100

-- gerrit

commit 79070cf98184a1ff0573a0837ee5b4f3a1f3a6ab
Author: Rodrigo Melo <[email protected]>
Date:   Fri Dec 28 15:02:36 2012 -0300

    fix: problems with gerrit
    
    It patch fix some errors that I did not check in the previous patch.
    
    Change-Id: I1d0e8e11db3223fd0581646f76d480af57db53af
    Signed-off-by: Rodrigo Melo <[email protected]>

diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
index 9ebf296..8caa165 100644
--- a/src/jtag/drivers/ft2232.c
+++ b/src/jtag/drivers/ft2232.c
@@ -2359,7 +2359,7 @@ static int ft2232_init(void)
                                more, &try_more);
 #elif BUILD_FT2232_LIBFTDI == 1
                retval = ft2232_init_libftdi(ft2232_vid[i], ft2232_pid[i],
-                                more, &try_more, ft2232_channel);
+                               more, &try_more, ft2232_channel);
 #endif
                if (retval >= 0)
                        break;
@@ -3255,16 +3255,13 @@ COMMAND_HANDLER(ft2232_handle_latency_command)
 
 COMMAND_HANDLER(ft2232_handle_channel_command)
 {
-       if (CMD_ARGC == 1)
-       {
+       if (CMD_ARGC == 1) {
                ft2232_channel = atoi(CMD_ARGV[0]);
                if (ft2232_channel < 0 || ft2232_channel > 4)
                {
                        LOG_ERROR("ft2232_channel must be in the 0 to 4 range");
                }
-       }
-       else
-       {
+       } else {
                LOG_ERROR("expected exactly one argument to ft2232_channel 
<ch>");
        }
 

-- 

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of 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_122812
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to