software/bios: default length 4 for mr command

This commit is contained in:
Sebastien Bourdeauducq 2013-03-13 19:59:39 +01:00
parent eaef3464e9
commit 2ae504fb9b
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ static void mr(char *startaddr, char *len)
return; return;
} }
if(*len == 0) { if(*len == 0) {
length = 1; length = 4;
} else { } else {
length = strtoul(len, &c, 0); length = strtoul(len, &c, 0);
if(*c != 0) { if(*c != 0) {