avrdude: Fixes in error handling

This commit is contained in:
Vojtech Kral
2018-05-16 14:42:36 +02:00
parent 97b3c38148
commit 404fdbcfdf
3 changed files with 46 additions and 12 deletions

View File

@@ -1034,6 +1034,7 @@ int avr_write(PROGRAMMER * pgm, AVRPART * p, char * memtype, int size,
* error, otherwise it gets cleared in avr_write_byte()
*/
pgm->err_led(pgm, ON);
return -1;
}
}