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/lpc2000.c | |
parent | 23402315ce01071f30d7ec0c5ca7563ce41f1cc6 (diff) | |
download | openocd+libswd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.gz openocd+libswd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.bz2 openocd+libswd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.xz openocd+libswd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.zip |
command_handler: change 'cmd_ctx' to CMD_CTX
Convert all command handler 'cmd_ctx' parameter usage with CMD_CTX.
Diffstat (limited to 'src/flash/lpc2000.c')
-rw-r--r-- | src/flash/lpc2000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/lpc2000.c b/src/flash/lpc2000.c index 63781309..191eb4bb 100644 --- a/src/flash/lpc2000.c +++ b/src/flash/lpc2000.c @@ -764,14 +764,14 @@ COMMAND_HANDLER(lpc2000_handle_part_id_command) { if (status_code == ERROR_FLASH_OPERATION_FAILED) { - command_print(cmd_ctx, "no sufficient working area specified, can't access LPC2000 IAP interface"); + command_print(CMD_CTX, "no sufficient working area specified, can't access LPC2000 IAP interface"); return ERROR_OK; } - command_print(cmd_ctx, "lpc2000 IAP returned status code %i", status_code); + command_print(CMD_CTX, "lpc2000 IAP returned status code %i", status_code); } else { - command_print(cmd_ctx, "lpc2000 part id: 0x%8.8" PRIx32 , result_table[0]); + command_print(CMD_CTX, "lpc2000 part id: 0x%8.8" PRIx32 , result_table[0]); } return ERROR_OK; |