debugging
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@70 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
b82abdaf2c
commit
5ea5794168
9
main.c
9
main.c
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue