2
0
mirror of https://github.com/mariusgreuel/avrdude.git synced 2025-09-27 14:35:27 +00:00

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:
bsd
2001-10-01 14:04:46 +00:00
parent a2f0a306bc
commit ee31149392
5 changed files with 10 additions and 22 deletions

2
avr.c

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

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

24
main.c

@@ -1,5 +1,5 @@
/*
* Copyright 2000 Brian S. Dean <bsd@bsdhome.com>
* Copyright 2001 Brian S. Dean <bsd@bsdhome.com>
* All Rights Reserved.
*
* 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.
*
* Pin definitions can be changed via a config file. Below is the
* default pin configuration.
*
* Make the following (minimal) connections:
*
* Parallel Port Programmer Function
@@ -107,7 +110,7 @@ char ** modules[5] = {
&term_version
};
char * version = "1.2";
char * version = "1.3.0";
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
* 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",
progname, progbuf, version, timestamp);
@@ -989,19 +992,9 @@ int main ( int argc, char * argv [] )
goto main_exit;
}
#if 0
fprintf(stderr, "initial port data = 0x%02x, pins %s\n",
ppidata, vccpins_str(ppidata));
#endif
ppidata &= ~ppiclrbits;
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
*/
@@ -1209,11 +1202,6 @@ int main ( int argc, char * argv [] )
avr_powerdown(fd);
#if 0
fprintf(stderr, "port data = 0x%02x, pins %s\n",
ppidata, vccpins_str(ppidata));
#endif
ppi_setall(fd, PPIDATA, ppidata);
/*

2
ppi.c

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

2
term.c

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