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:
parent
e941d4d3f1
commit
9ff14b7a42
|
@ -461,7 +461,7 @@ static int serialupdi_paged_load(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
|
|||
}
|
||||
return read_bytes;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue