Skip to content

Commit e2ddc2b

Browse files
committedFeb 17, 2018
Fix wrong argument count for erase flash command
1 parent 023f775 commit e2ddc2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎argparse/argparse_commcmd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ int argparse_commcmd(int num_args, char **arg_ptr)
100100
case 'e':
101101
if (espcomm_erase_flash())
102102
{
103-
return 2;
103+
return 1;
104104
}
105105
break;
106106

0 commit comments

Comments
 (0)