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:
parent
058a51a416
commit
7ca9fac139
|
@ -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
|
||||||
|
|
4
avr910.c
4
avr910.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue