From f20836f698f216947c46b8b724a41068414cfafa Mon Sep 17 00:00:00 2001 From: joerg_wunsch Date: Thu, 7 Jan 2010 16:23:28 +0000 Subject: [PATCH] bug #28458: Buffer line is incorrectly released for PP programmers * par.c (par_close): use par_setmany() rather than par_setpin() for PPI_AVR_BUFF. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@888 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 6 ++++++ par.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1c5b3737..37f9ae8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-01-07 Joerg Wunsch + + bug #28458: Buffer line is incorrectly released for PP programmers + * par.c (par_close): use par_setmany() rather than par_setpin() + for PPI_AVR_BUFF. + 2010-01-07 Joerg Wunsch bug #27507: SIGSEGV when using avrdragon (avrdude 5.8) diff --git a/par.c b/par.c index 1aa3e2c8..6b8bca46 100644 --- a/par.c +++ b/par.c @@ -285,7 +285,7 @@ static void par_close(PROGRAMMER * pgm) ppi_setall(&pgm->fd, PPIDATA, pgm->ppidata); ppi_setall(&pgm->fd, PPICTRL, pgm->ppictrl); - par_setpin(pgm, pgm->pinno[PPI_AVR_BUFF], 1); + par_setmany(pgm, pgm->pinno[PPI_AVR_BUFF], 1); /* * Handle exit specs.