command_handler: change to 'argc' to CMD_ARGC
This patch converts all instances of 'argc' in COMMAND_HANDLER routines to use CMD_ARGC.
This commit is contained in:
@@ -259,7 +259,7 @@ COMMAND_HANDLER(handle_dap_info_command)
|
||||
struct swjdp_common *swjdp = &armv7a->swjdp_info;
|
||||
uint32_t apsel;
|
||||
|
||||
switch (argc) {
|
||||
switch (CMD_ARGC) {
|
||||
case 0:
|
||||
apsel = swjdp->apsel;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user