aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/at91rm9200.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-15 04:57:12 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-17 11:38:06 -0800
commit7bf1a86e473a12882bf6f71cb4d0d416394b69d4 (patch)
tree2c9c1d2138df704ac551cdafe105dbb68b8f23b8 /src/jtag/at91rm9200.c
parent5b9899d6ea1e0cf763465c64c700f20eddd893f9 (diff)
command_handler: change to 'argc' to CMD_ARGC
This patch converts all instances of 'argc' in COMMAND_HANDLER routines to use CMD_ARGC.
Diffstat (limited to 'src/jtag/at91rm9200.c')
-rw-r--r--src/jtag/at91rm9200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/at91rm9200.c b/src/jtag/at91rm9200.c
index dc9797e0..90d94c95 100644
--- a/src/jtag/at91rm9200.c
+++ b/src/jtag/at91rm9200.c
@@ -187,7 +187,7 @@ static int at91rm9200_speed(int speed)
static int at91rm9200_handle_device_command(struct command_context *cmd_ctx, char *cmd, char **args, int argc)
{
- if (argc == 0)
+ if (CMD_ARGC == 0)
return ERROR_OK;
/* only if the device name wasn't overwritten by cmdline */