From 07a4b587b73d7e5a0bb1aba2b077be219c1df0bc Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" Date: Sun, 27 Aug 2000 16:45:17 +0000 Subject: [PATCH] Clear all bits except AVR_RESET when finished reading or programming the Atmel device. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@13 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/avrprog.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/avrdude/avrprog.c b/avrdude/avrprog.c index b6b36af5..a2c07dd6 100644 --- a/avrdude/avrprog.c +++ b/avrdude/avrprog.c @@ -971,6 +971,9 @@ int main ( int argc, char * argv [] ) */ avr_powerdown(fd); + ppi_clr(fd, PPIDATA, 0xff); + ppi_set(fd, PPIDATA, AVR_RESET); + close(fd); close(iofd);