projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use COMMAND_REGISTER macro
[fw/openocd]
/
src
/
jtag
/
at91rm9200.c
diff --git
a/src/jtag/at91rm9200.c
b/src/jtag/at91rm9200.c
index 8fbdf3942394dc7c4bd7cc7010e820c27de693d8..024dd6d7ea25a78d50c7bd64291247b5e822f162 100644
(file)
--- a/
src/jtag/at91rm9200.c
+++ b/
src/jtag/at91rm9200.c
@@
-202,7
+202,7
@@
static int at91rm9200_handle_device_command(struct command_context *cmd_ctx, cha
static int at91rm9200_register_commands(struct command_context *cmd_ctx)
{
static int at91rm9200_register_commands(struct command_context *cmd_ctx)
{
-
register_command
(cmd_ctx, NULL, "at91rm9200_device", at91rm9200_handle_device_command,
+
COMMAND_REGISTER
(cmd_ctx, NULL, "at91rm9200_device", at91rm9200_handle_device_command,
COMMAND_CONFIG, NULL);
return ERROR_OK;
}
COMMAND_CONFIG, NULL);
return ERROR_OK;
}