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>__archive__
parent
064475459b
commit
47a276cfae
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue