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/1109
-- gerrit commit a741c3607cf85ad4a9b031149694b408f0569471 Author: Rodrigo Melo <[email protected]> Date: Mon Jan 14 12:25:44 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: I27b389c8ed2ea626742b2917f3d48cb90c360046 Signed-off-by: Rodrigo Melo <[email protected]> diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 9ebf296..6dce860 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,11 +3255,9 @@ 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) - { + if (ft2232_channel < 0 || ft2232_channel > 4) { LOG_ERROR("ft2232_channel must be in the 0 to 4 range"); } } -- ------------------------------------------------------------------------------ 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
