From: Alexander Osipenko Date: Thu, 17 May 2012 08:53:33 +0000 (+0100) Subject: remote_bitbang: missed closing brace in macro REMOTE_BITBANG_RAISE_ERROR X-Git-Tag: v0.6.0-rc1~83 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47a276cfae12e73b66d8af3889ba558ad3f157eb;p=openocd remote_bitbang: missed closing brace in macro REMOTE_BITBANG_RAISE_ERROR Change-Id: I591308bd98810ef6361106c207c55b83c3a83890 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/647 Tested-by: jenkins Reviewed-by: Xiaofan --- diff --git a/src/jtag/drivers/remote_bitbang.c b/src/jtag/drivers/remote_bitbang.c index eb98423c..941a07f1 100644 --- a/src/jtag/drivers/remote_bitbang.c +++ b/src/jtag/drivers/remote_bitbang.c @@ -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",