debugging

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@70 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bsd 2001-09-21 02:57:58 +00:00
parent b82abdaf2c
commit 5ea5794168
1 changed files with 9 additions and 0 deletions

9
main.c
View File

@ -981,9 +981,16 @@ int main ( int argc, char * argv [] )
ppidata = 0; /* clear all bits at exit */
goto main_exit;
}
fprintf(stderr, "initial port data = 0x%02x, pins %s\n",
ppidata, vccpins_str(ppidata));
ppidata &= ~ppiclrbits;
ppidata |= ppisetbits;
fprintf(stderr, "apply exit specs, port data = 0x%02x, pins %s\n",
ppidata, vccpins_str(ppidata));
/*
* turn off all the status leds
*/
@ -1190,6 +1197,8 @@ int main ( int argc, char * argv [] )
*/
avr_powerdown(fd);
fprintf(stderr, "port data = 0x%02x, pins %s\n",
ppidata, vccpins_str(ppidata));
ppi_setall(fd, PPIDATA, ppidata);
/*