debugging
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@70 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
3cdf00c76c
commit
1b99818a03
9
main.c
9
main.c
|
@ -981,9 +981,16 @@ int main ( int argc, char * argv [] )
|
||||||
ppidata = 0; /* clear all bits at exit */
|
ppidata = 0; /* clear all bits at exit */
|
||||||
goto main_exit;
|
goto main_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "initial port data = 0x%02x, pins %s\n",
|
||||||
|
ppidata, vccpins_str(ppidata));
|
||||||
|
|
||||||
ppidata &= ~ppiclrbits;
|
ppidata &= ~ppiclrbits;
|
||||||
ppidata |= ppisetbits;
|
ppidata |= ppisetbits;
|
||||||
|
|
||||||
|
fprintf(stderr, "apply exit specs, port data = 0x%02x, pins %s\n",
|
||||||
|
ppidata, vccpins_str(ppidata));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* turn off all the status leds
|
* turn off all the status leds
|
||||||
*/
|
*/
|
||||||
|
@ -1190,6 +1197,8 @@ int main ( int argc, char * argv [] )
|
||||||
*/
|
*/
|
||||||
|
|
||||||
avr_powerdown(fd);
|
avr_powerdown(fd);
|
||||||
|
fprintf(stderr, "port data = 0x%02x, pins %s\n",
|
||||||
|
ppidata, vccpins_str(ppidata));
|
||||||
ppi_setall(fd, PPIDATA, ppidata);
|
ppi_setall(fd, PPIDATA, ppidata);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue