Revert "Initialize progress reporting in avr_{read,write}_mem"

This reverts commit 296883cf1a.
This commit is contained in:
Joerg Wunsch
2024-03-20 23:05:03 +01:00
parent 73c8a7854b
commit b65e9d8f4d

View File

@@ -367,7 +367,6 @@ int avr_read_mem(const PROGRAMMER *pgm, const AVRPART *p, const AVRMEM *mem, con
* start with all 0xff
*/
memset(mem->buf, 0xff, mem->size);
report_progress(0, 1, "Reading");
/* supports "paged load" thru post-increment */
if ((p->prog_modes & PM_TPI) && mem->page_size > 1 &&
@@ -969,7 +968,6 @@ int avr_write_mem(const PROGRAMMER *pgm, const AVRPART *p, const AVRMEM *m, int
return wsize;
}
report_progress(0, 1, "Writing");
if ((p->prog_modes & PM_TPI) && m->page_size > 1 && pgm->cmd_tpi) {
unsigned int chunk; /* number of words for each write command */
unsigned int j, writeable_chunk;