Fix cut and paste braino.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@163 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bsd 2002-12-01 15:10:23 +00:00
parent e722fbc587
commit b2c1b19017
1 changed files with 2 additions and 2 deletions

View File

@ -751,7 +751,7 @@ int stk500_paged_write(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
if (strcmp(m->desc, "flash") == 0) { if (strcmp(m->desc, "flash") == 0) {
memtype = 'F'; memtype = 'F';
} }
else if (strcmp(m->desc, "flash") == 0) { else if (strcmp(m->desc, "eeprom") == 0) {
memtype = 'E'; memtype = 'E';
} }
else { else {
@ -841,7 +841,7 @@ int stk500_paged_load(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
if (strcmp(m->desc, "flash") == 0) { if (strcmp(m->desc, "flash") == 0) {
memtype = 'F'; memtype = 'F';
} }
else if (strcmp(m->desc, "flash") == 0) { else if (strcmp(m->desc, "eeprom") == 0) {
memtype = 'E'; memtype = 'E';
} }
else { else {