Fix candidate for issue with atmega4809

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1518 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Dawid Buchwald 2021-12-13 08:49:29 +00:00 committed by Marius Greuel
parent e941d4d3f1
commit 9ff14b7a42
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ static int serialupdi_paged_load(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
} }
return read_bytes; return read_bytes;
} else { } else {
return updi_read_data(pgm, m->offset + addr, m->buf, n_bytes); return updi_read_data(pgm, m->offset + addr, m->buf + addr, n_bytes);
} }
} }