diff options
Diffstat (limited to 'src/jtag/at91rm9200.c')
-rw-r--r-- | src/jtag/at91rm9200.c | 2 |
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 */ |