diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-15 05:57:37 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-17 11:40:06 -0800 |
commit | 2861877b32a7a2f4022a1c3d9b66c9b4879878ac (patch) | |
tree | d0f25f82899181b13241b2147d6ad7c72765542c /src/flash/avrf.c | |
parent | 23402315ce01071f30d7ec0c5ca7563ce41f1cc6 (diff) | |
download | riscv-openocd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.zip riscv-openocd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.gz riscv-openocd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.bz2 |
command_handler: change 'cmd_ctx' to CMD_CTX
Convert all command handler 'cmd_ctx' parameter usage with CMD_CTX.
Diffstat (limited to 'src/flash/avrf.c')
-rw-r--r-- | src/flash/avrf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/avrf.c b/src/flash/avrf.c index f1db3c4..20c619d 100644 --- a/src/flash/avrf.c +++ b/src/flash/avrf.c @@ -421,7 +421,7 @@ COMMAND_HANDLER(avrf_handle_mass_erase_command) if (CMD_ARGC < 1) { - command_print(cmd_ctx, "avr mass_erase <bank>"); + command_print(CMD_CTX, "avr mass_erase <bank>"); return ERROR_OK; } @@ -438,11 +438,11 @@ COMMAND_HANDLER(avrf_handle_mass_erase_command) bank->sectors[i].is_erased = 1; } - command_print(cmd_ctx, "avr mass erase complete"); + command_print(CMD_CTX, "avr mass erase complete"); } else { - command_print(cmd_ctx, "avr mass erase failed"); + command_print(CMD_CTX, "avr mass erase failed"); } LOG_DEBUG("%s", __FUNCTION__); |