Skip to content

Commit

Permalink
Fix wrong argument count for erase flash command
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Feb 17, 2018
1 parent 023f775 commit e2ddc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argparse/argparse_commcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int argparse_commcmd(int num_args, char **arg_ptr)
case 'e':
if (espcomm_erase_flash())
{
return 2;
return 1;
}
break;

Expand Down

0 comments on commit e2ddc2b

Please sign in to comment.