mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-18 11:24:42 +00:00
Merge pull request #1171 from stefanrueger/urclock
Provide Urclock programmer
This commit is contained in:
@@ -1393,9 +1393,12 @@ int main(int argc, char * argv [])
|
||||
if (uflags & UF_NOWRITE) {
|
||||
pmsg_warning("conflicting -e and -n options specified, NOT erasing chip\n");
|
||||
} else {
|
||||
msg_info("erasing chip\n");
|
||||
pmsg_info("erasing chip\n");
|
||||
exitrc = avr_chip_erase(pgm, p);
|
||||
if(exitrc)
|
||||
if(exitrc == LIBAVRDUDE_SOFTFAIL) {
|
||||
imsg_info("delaying chip erase until first -U upload to flash\n");
|
||||
exitrc = 1;
|
||||
} else if(exitrc)
|
||||
goto main_exit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user