Change size for memory type variable in terminal read

This commit is contained in:
Stefan Rueger 2022-07-12 11:44:20 +01:00
parent 7205bbae80
commit 602e9bb80c
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ static int cmd_dump(PROGRAMMER * pgm, struct avrpart * p,
}
enum { read_size = 256 };
static char prevmem[128] = {0x00};
static char prevmem[AVR_MEMDESCLEN] = {0x00};
char * memtype = argv[1];
AVRMEM * mem = avr_locate_mem(p, memtype);
if (mem == NULL) {