system/ramspeed:Fix the problem that irq_disable is often opened.
Fix the problem that "when repeat_num!=0, there is no break, so irq_disable will be configured to true by default".
This commit is contained in:
parent
4159fa197b
commit
69d5f960fc
@ -143,6 +143,7 @@ static void parse_commandline(int argc, FAR char **argv,
|
||||
printf(RAMSPEED_PREFIX "<size> must >= 32");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
break;
|
||||
case 'v':
|
||||
OPTARG_TO_VALUE(info->value, uint8_t, 16);
|
||||
@ -155,6 +156,7 @@ static void parse_commandline(int argc, FAR char **argv,
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
break;
|
||||
case 'i':
|
||||
info->irq_disable = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user