Skip to content
Snippets Groups Projects
Commit 266c423b authored by Zachary T Welch's avatar Zachary T Welch
Browse files

Improve orion_nand.c command argument parsing.

parent 7b497397
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment