*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

@@ -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)
{