mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/software/bios/cmds/cmd_mem.c: fix number of required params
This commit is contained in:
parent
8ac3fbc039
commit
e87e7ff31c
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ static void mem_speed_handler(int nb_params, char **params)
|
|||
bool read_only = false;
|
||||
bool random = false;
|
||||
|
||||
if (nb_params < 1) {
|
||||
if (nb_params < 2) {
|
||||
printf("mem_speed <addr> <size> [<readonly>] [<random>]");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue