From ae3abef4a00712cd80bc842f3d5e5fd601dc10a0 Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" Date: Thu, 8 Feb 2001 01:08:30 +0000 Subject: [PATCH] Correct a few comments. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@59 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avr.c | 2 ++ main.c | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/avr.c b/avr.c index 0d7ec5fa..0936dd6f 100644 --- a/avr.c +++ b/avr.c @@ -88,6 +88,7 @@ int avr_list_parts ( FILE * f, char * prefix ) return i; } + struct avrpart * avr_find_part ( char * p ) { int i; @@ -101,6 +102,7 @@ struct avrpart * avr_find_part ( char * p ) return NULL; } + /* * transmit and receive a bit of data to/from the AVR device */ diff --git a/main.c b/main.c index 61a68de6..0c7f673f 100644 --- a/main.c +++ b/main.c @@ -282,7 +282,7 @@ int main ( int argc, char * argv [] ) /* options / operating mode variables */ int memtype; /* AVR_FLASH or AVR_EEPROM */ - int doread; /* 0=reading, 1=writing */ + int doread; /* 1=reading AVR, 0=writing AVR */ int erase; /* 1=erase chip, 0=don't */ char * outputf; /* output file name */ char * inputf; /* input file name */ @@ -599,7 +599,7 @@ int main ( int argc, char * argv [] ) /* * Check here to see if any other operations were selected and * generate an error message because if they were, we need either - * an input or and output file, but one was not selected. + * an input or an output file, but one was not selected. * Otherwise, we just shut down. */ if (readorwrite) { @@ -689,8 +689,8 @@ int main ( int argc, char * argv [] ) if (!doread && verify) { /* - * verify that the in memory file (p->flash or p->eeprom) is the - * same as what is on the chip + * verify that the in memory file (p->mem[AVR_FLASH|AVR_EEPROM]) + * is the same as what is on the chip */ LED_ON(fd, PIN_LED_VFY);