summaryrefslogtreecommitdiff
path: root/src/xsvf
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-09 23:56:52 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 10:51:45 -0800
commitcfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e (patch)
treef129c414d90f81a2caf6054ab7bbcd1306ac1f26 /src/xsvf
parentddb6138ed428f666064d26bb08036de3afe44bc8 (diff)
downloadopenocd_libswd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.tar.gz
openocd_libswd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.tar.bz2
openocd_libswd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.tar.xz
openocd_libswd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.zip
use COMMAND_HANDLER macro to define all commands
Diffstat (limited to 'src/xsvf')
-rw-r--r--src/xsvf/xsvf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index 909d7a1e..e0756b50 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -175,7 +175,7 @@ static int xsvf_read_buffer(int num_bits, int fd, uint8_t* buf)
}
-static int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc)
+COMMAND_HANDLER(handle_xsvf_command)
{
uint8_t *dr_out_buf = NULL; /* from host to device (TDI) */
uint8_t *dr_in_buf = NULL; /* from device to host (TDO) */