mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user