Incread default read size to 256 bytes

This commit is contained in:
MCUdude 2022-02-28 20:39:55 +01:00 committed by Joerg Wunsch
parent dca5fc92bf
commit 40e3aa1790
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ static int cmd_dump(PROGRAMMER * pgm, struct avrpart * p,
if (strncmp(prevmem, memtype, strlen(memtype)) != 0) { if (strncmp(prevmem, memtype, strlen(memtype)) != 0) {
addr = 0; addr = 0;
len = 64; len = 256;
strncpy(prevmem, memtype, sizeof(prevmem)-1); strncpy(prevmem, memtype, sizeof(prevmem)-1);
prevmem[sizeof(prevmem)-1] = 0; prevmem[sizeof(prevmem)-1] = 0;
} }