If the device is not open, don't try closing it.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1282 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
2de8e9c8ca
commit
0ca7d30267
4
main.c
4
main.c
|
@ -1391,9 +1391,9 @@ main_exit:
|
||||||
pgm->disable(pgm);
|
pgm->disable(pgm);
|
||||||
|
|
||||||
pgm->rdy_led(pgm, OFF);
|
pgm->rdy_led(pgm, OFF);
|
||||||
}
|
|
||||||
|
|
||||||
pgm->close(pgm);
|
pgm->close(pgm);
|
||||||
|
}
|
||||||
|
|
||||||
if (quell_progress < 2) {
|
if (quell_progress < 2) {
|
||||||
fprintf(stderr, "\n%s done. Thank you.\n\n", progname);
|
fprintf(stderr, "\n%s done. Thank you.\n\n", progname);
|
||||||
|
|
Loading…
Reference in New Issue