Fall back to avr_{read,write}_byte_default().

Fixes bug #18803: Fuse reading regression in avrdude 5.3.1 with avr910
programmer


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@738 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2007-05-15 22:00:29 +00:00
parent c4e9a1a596
commit 6fb700fe6f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-05-15 Joerg Wunsch <j@uriah.heep.sax.de>
* avr910.c: Fall back to avr_{read,write}_byte_default(). Fixes
bug #18803: Fuse reading regression in avrdude 5.3.1 with avr910
programmer
2007-05-15 Colin O'Flynn <coflynn@newae.com> 2007-05-15 Colin O'Flynn <coflynn@newae.com>
* avrdude.conf.in: Rename the ATmega164 and ATmega324 into * avrdude.conf.in: Rename the ATmega164 and ATmega324 into

View File

@ -326,7 +326,7 @@ static int avr910_write_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
cmd[0] = 'D'; cmd[0] = 'D';
} }
else { else {
return -1; return avr_write_byte_default(pgm, p, m, addr, value);
} }
cmd[1] = value; cmd[1] = value;
@ -398,7 +398,7 @@ static int avr910_read_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
return avr910_read_byte_eeprom(pgm, p, m, addr, value); return avr910_read_byte_eeprom(pgm, p, m, addr, value);
} }
return -1; return avr_read_byte_default(pgm, p, m, addr, value);
} }