diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 23:56:52 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 10:51:45 -0800 |
commit | cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e (patch) | |
tree | f129c414d90f81a2caf6054ab7bbcd1306ac1f26 /src/flash/lpc2000.c | |
parent | ddb6138ed428f666064d26bb08036de3afe44bc8 (diff) |
use COMMAND_HANDLER macro to define all commands
Diffstat (limited to 'src/flash/lpc2000.c')
-rw-r--r-- | src/flash/lpc2000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/lpc2000.c b/src/flash/lpc2000.c index e71629e5..4d4d9a2a 100644 --- a/src/flash/lpc2000.c +++ b/src/flash/lpc2000.c @@ -737,7 +737,7 @@ static int lpc2000_info(struct flash_bank_s *bank, char *buf, int buf_size) return ERROR_OK; } -static int lpc2000_handle_part_id_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc) +COMMAND_HANDLER(lpc2000_handle_part_id_command) { uint32_t param_table[5]; uint32_t result_table[4]; |