mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 22:45:27 +00:00
Change size for memory type variable in terminal read
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user