From 2c24e0bdbeca9b0cb10ce3736078ce1975ab6588 Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" Date: Sun, 1 Dec 2002 15:10:23 +0000 Subject: [PATCH] Fix cut and paste braino. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@163 81a1dc3b-b13d-400b-aceb-764788c761c2 --- stk500.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stk500.c b/stk500.c index 462c740a..972ec294 100644 --- a/stk500.c +++ b/stk500.c @@ -751,7 +751,7 @@ int stk500_paged_write(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m, if (strcmp(m->desc, "flash") == 0) { memtype = 'F'; } - else if (strcmp(m->desc, "flash") == 0) { + else if (strcmp(m->desc, "eeprom") == 0) { memtype = 'E'; } else { @@ -841,7 +841,7 @@ int stk500_paged_load(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m, if (strcmp(m->desc, "flash") == 0) { memtype = 'F'; } - else if (strcmp(m->desc, "flash") == 0) { + else if (strcmp(m->desc, "eeprom") == 0) { memtype = 'E'; } else {