]> git.sur5r.net Git - openocd/commitdiff
remote_bitbang: missed closing brace in macro REMOTE_BITBANG_RAISE_ERROR
authorAlexander Osipenko <sipych@gmail.com>
Thu, 17 May 2012 08:53:33 +0000 (09:53 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Sat, 19 May 2012 20:27:16 +0000 (20:27 +0000)
Change-Id: I591308bd98810ef6361106c207c55b83c3a83890
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/647
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
src/jtag/drivers/remote_bitbang.c

index eb98423cd7f12a3586a1e396751d28dff484998c..941a07f147857ab2c71e7afa6c0ba21c42eb9cfe 100644 (file)
@@ -39,7 +39,7 @@
                LOG_ERROR(expr); \
                LOG_ERROR("Terminating openocd."); \
                exit(-1); \
-       while (0)
+       while (0)
 
 static char remote_bitbang_host[REMOTE_BITBANG_HOST_MAX] = "openocd";
 static uint16_t remote_bitbang_port;
@@ -246,7 +246,6 @@ static int remote_bitbang_speed_div(int speed, int *khz)
        return ERROR_OK;
 }
 
-
 COMMAND_HANDLER(remote_bitbang_handle_remote_bitbang_port_command)
 {
        if (CMD_ARGC == 1) {
@@ -266,7 +265,6 @@ COMMAND_HANDLER(remote_bitbang_handle_remote_bitbang_host_command)
        return ERROR_COMMAND_SYNTAX_ERROR;
 }
 
-
 static const struct command_registration remote_bitbang_command_handlers[] = {
        {
                .name = "remote_bitbang_port",