diff options
author | Alexander Osipenko <sipych@gmail.com> | 2012-05-17 09:53:33 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-05-19 20:27:16 +0000 |
commit | 47a276cfae12e73b66d8af3889ba558ad3f157eb (patch) | |
tree | 5e6ee1f26d4d5aadb77ca61c2735acb786530a00 /src | |
parent | 064475459bf869d5c722851fdfd22719ec0a3adc (diff) | |
download | riscv-openocd-47a276cfae12e73b66d8af3889ba558ad3f157eb.zip riscv-openocd-47a276cfae12e73b66d8af3889ba558ad3f157eb.tar.gz riscv-openocd-47a276cfae12e73b66d8af3889ba558ad3f157eb.tar.bz2 |
remote_bitbang: missed closing brace in macro REMOTE_BITBANG_RAISE_ERROR
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/drivers/remote_bitbang.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jtag/drivers/remote_bitbang.c b/src/jtag/drivers/remote_bitbang.c index eb98423..941a07f 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", |