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:
c_oflynn 2007-03-25 22:43:50 +00:00
parent 9b19452848
commit 914e2ed3ec
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> 2007-02-26 Joerg Wunsch <j@uriah.heep.sax.de>
* avrdude.conf.in: Add the AT90PWM2/3B devices. * avrdude.conf.in: Add the AT90PWM2/3B devices.

View File

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