software/bios: default length 4 for mr command
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Wed, 13 Mar 2013 18:59:39 +0000 (19:59 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Wed, 13 Mar 2013 18:59:39 +0000 (19:59 +0100)
software/bios/main.c

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