Improve orion_nand.c command argument parsing.

This commit is contained in:
Zachary T Welch 2009-10-22 22:33:12 -07:00
parent 7b49739790
commit 266c423bbd
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ int orion_nand_device_command(struct command_context_s *cmd_ctx, char *cmd,
return ERROR_NAND_DEVICE_INVALID;
}
base = strtoul(args[2], NULL, 0);
COMMAND_PARSE_NUMBER(u32, args[2], base);
cle = 0;
ale = 1;