Colin O'Flynn <coflynn@newae.com>

*stk500generic.c: FIxed bug 19411


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@731 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Colin O Flynn 2007-03-25 22:43:50 +00:00
parent 2e2f8d6bde
commit f4f6c8040c
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-03-25 Colin O'Flynn <coflynn@newae.com>
* stk500generic.c: Forgot to close the serial port before trying to
open it again, caused problems on Windows machines.
Closes bug #19411
2007-02-26 Joerg Wunsch <j@uriah.heep.sax.de>
* avrdude.conf.in: Add the AT90PWM2/3B devices.

View File

@ -48,6 +48,8 @@ static int stk500generic_open(PROGRAMMER * pgm, char * port)
return 0;
}
pgm->close(pgm);
stk500v2_initpgm(pgm);
if (pgm->open(pgm, port) >= 0)
{