Remove debugging code - it served its purpose.

Update copyrights.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@72 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2001-10-01 14:04:46 +00:00
parent 88dafc434d
commit 88b4c8c41f
5 changed files with 10 additions and 22 deletions

2
avr.c
View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2000 Brian S. Dean <bsd@bsdhome.com> * Copyright 2001 Brian S. Dean <bsd@bsdhome.com>
* All Rights Reserved. * All Rights Reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2000 Brian S. Dean <bsd@bsdhome.com> * Copyright 2001 Brian S. Dean <bsd@bsdhome.com>
* All Rights Reserved. * All Rights Reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

24
main.c
View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2000 Brian S. Dean <bsd@bsdhome.com> * Copyright 2001 Brian S. Dean <bsd@bsdhome.com>
* All Rights Reserved. * All Rights Reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -32,6 +32,9 @@
/* /*
* Code to program an Atmel AVR AT90S device using the parallel port. * Code to program an Atmel AVR AT90S device using the parallel port.
* *
* Pin definitions can be changed via a config file. Below is the
* default pin configuration.
*
* Make the following (minimal) connections: * Make the following (minimal) connections:
* *
* Parallel Port Programmer Function * Parallel Port Programmer Function
@ -107,7 +110,7 @@ char ** modules[5] = {
&term_version &term_version
}; };
char * version = "1.2"; char * version = "1.3.0";
char * main_version = "$Id$"; char * main_version = "$Id$";
@ -758,7 +761,7 @@ int main ( int argc, char * argv [] )
* Print out an identifying string so folks can tell what version * Print out an identifying string so folks can tell what version
* they are running * they are running
*/ */
fprintf(stderr, "\n%s: Copyright 2000 Brian Dean, bsd@bsdhome.com\n" fprintf(stderr, "\n%s: Copyright 2001 Brian Dean, bsd@bsdhome.com\n"
"%sVersion %s Revision Timestamp %s\n\n", "%sVersion %s Revision Timestamp %s\n\n",
progname, progbuf, version, timestamp); progname, progbuf, version, timestamp);
@ -989,19 +992,9 @@ int main ( int argc, char * argv [] )
goto main_exit; goto main_exit;
} }
#if 0
fprintf(stderr, "initial port data = 0x%02x, pins %s\n",
ppidata, vccpins_str(ppidata));
#endif
ppidata &= ~ppiclrbits; ppidata &= ~ppiclrbits;
ppidata |= ppisetbits; ppidata |= ppisetbits;
#if 0
fprintf(stderr, "apply exit specs, port data = 0x%02x, pins %s\n",
ppidata, vccpins_str(ppidata));
#endif
/* /*
* turn off all the status leds * turn off all the status leds
*/ */
@ -1209,11 +1202,6 @@ int main ( int argc, char * argv [] )
avr_powerdown(fd); avr_powerdown(fd);
#if 0
fprintf(stderr, "port data = 0x%02x, pins %s\n",
ppidata, vccpins_str(ppidata));
#endif
ppi_setall(fd, PPIDATA, ppidata); ppi_setall(fd, PPIDATA, ppidata);
/* /*

2
ppi.c
View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2000 Brian S. Dean <bsd@bsdhome.com> * Copyright 2001 Brian S. Dean <bsd@bsdhome.com>
* All Rights Reserved. * All Rights Reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

2
term.c
View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2000 Brian S. Dean <bsd@bsdhome.com> * Copyright 2001 Brian S. Dean <bsd@bsdhome.com>
* All Rights Reserved. * All Rights Reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without