mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-23 17:46:33 +03:00
Refrain from closing a programmer that failed opening
This commit is contained in:
@@ -47,8 +47,6 @@ static int stk500generic_open(PROGRAMMER *pgm, const char *port) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
pgm->close(pgm);
|
||||
|
||||
stk500v2_initpgm(pgm);
|
||||
if(pgm->setup)
|
||||
pgm->setup(pgm);
|
||||
|
||||
Reference in New Issue
Block a user