From ee311493921ed04d1af032ffe9164670804ce659 Mon Sep 17 00:00:00 2001 From: bsd Date: Mon, 1 Oct 2001 14:04:46 +0000 Subject: [PATCH] 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 --- avr.c | 2 +- fileio.c | 2 +- main.c | 24 ++++++------------------ ppi.c | 2 +- term.c | 2 +- 5 files changed, 10 insertions(+), 22 deletions(-) diff --git a/avr.c b/avr.c index 10965ad0..90c7427e 100644 --- a/avr.c +++ b/avr.c @@ -1,5 +1,5 @@ /* - * Copyright 2000 Brian S. Dean + * Copyright 2001 Brian S. Dean * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/fileio.c b/fileio.c index abb441a7..9feb830d 100644 --- a/fileio.c +++ b/fileio.c @@ -1,5 +1,5 @@ /* - * Copyright 2000 Brian S. Dean + * Copyright 2001 Brian S. Dean * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/main.c b/main.c index 6fe74a7b..cacdaac2 100644 --- a/main.c +++ b/main.c @@ -1,5 +1,5 @@ /* - * Copyright 2000 Brian S. Dean + * Copyright 2001 Brian S. Dean * 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); /* diff --git a/ppi.c b/ppi.c index ebe290e2..257384f4 100644 --- a/ppi.c +++ b/ppi.c @@ -1,5 +1,5 @@ /* - * Copyright 2000 Brian S. Dean + * Copyright 2001 Brian S. Dean * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/term.c b/term.c index b6ae24f4..097627e3 100644 --- a/term.c +++ b/term.c @@ -1,5 +1,5 @@ /* - * Copyright 2000 Brian S. Dean + * Copyright 2001 Brian S. Dean * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without