From cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Mon, 9 Nov 2009 23:56:52 -0800 Subject: use COMMAND_HANDLER macro to define all commands --- src/flash/stellaris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash/stellaris.c') diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c index bd561a61..22d5bc46 100644 --- a/src/flash/stellaris.c +++ b/src/flash/stellaris.c @@ -1127,7 +1127,7 @@ static int stellaris_mass_erase(struct flash_bank_s *bank) return ERROR_OK; } -static int stellaris_handle_mass_erase_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc) +COMMAND_HANDLER(stellaris_handle_mass_erase_command) { int i; -- cgit v1.2.3