From 0796dfff89bf00f82a780d7719767bcffe881d67 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Tue, 10 Nov 2009 01:41:30 -0800 Subject: use FLASH_BANK_COMMAND_HANDLER macro Defines all flash_bank_command handlers using the new macro. --- src/flash/avrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash/avrf.c') diff --git a/src/flash/avrf.c b/src/flash/avrf.c index 6badb2d1..35d31fb0 100644 --- a/src/flash/avrf.c +++ b/src/flash/avrf.c @@ -180,7 +180,7 @@ static int avr_jtagprg_writeflashpage(avr_common_t *avr, uint8_t *page_buf, uint return ERROR_OK; } -static int avrf_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct flash_bank_s *bank) +FLASH_BANK_COMMAND_HANDLER(avrf_flash_bank_command) { avrf_flash_bank_t *avrf_info; -- cgit v1.2.3