Correct a few comments.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@59 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bsd 2001-02-08 01:08:30 +00:00
parent 6bb8158920
commit 912d2157ef
2 changed files with 6 additions and 4 deletions

2
avr.c
View File

@ -88,6 +88,7 @@ int avr_list_parts ( FILE * f, char * prefix )
return i; return i;
} }
struct avrpart * avr_find_part ( char * p ) struct avrpart * avr_find_part ( char * p )
{ {
int i; int i;
@ -101,6 +102,7 @@ struct avrpart * avr_find_part ( char * p )
return NULL; return NULL;
} }
/* /*
* transmit and receive a bit of data to/from the AVR device * transmit and receive a bit of data to/from the AVR device
*/ */

8
main.c
View File

@ -282,7 +282,7 @@ int main ( int argc, char * argv [] )
/* options / operating mode variables */ /* options / operating mode variables */
int memtype; /* AVR_FLASH or AVR_EEPROM */ 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 */ int erase; /* 1=erase chip, 0=don't */
char * outputf; /* output file name */ char * outputf; /* output file name */
char * inputf; /* input 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 * Check here to see if any other operations were selected and
* generate an error message because if they were, we need either * 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. * Otherwise, we just shut down.
*/ */
if (readorwrite) { if (readorwrite) {
@ -689,8 +689,8 @@ int main ( int argc, char * argv [] )
if (!doread && verify) { if (!doread && verify) {
/* /*
* verify that the in memory file (p->flash or p->eeprom) is the * verify that the in memory file (p->mem[AVR_FLASH|AVR_EEPROM])
* same as what is on the chip * is the same as what is on the chip
*/ */
LED_ON(fd, PIN_LED_VFY); LED_ON(fd, PIN_LED_VFY);