From 6fb700fe6f22764e619551787aeb0ac62cf568a1 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Tue, 15 May 2007 22:00:29 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ avr910.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 15f5c8ac..035aac29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-05-15 Joerg Wunsch + + * 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 * avrdude.conf.in: Rename the ATmega164 and ATmega324 into diff --git a/avr910.c b/avr910.c index 4e3df19f..16ad7cb9 100644 --- a/avr910.c +++ b/avr910.c @@ -326,7 +326,7 @@ static int avr910_write_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m, cmd[0] = 'D'; } else { - return -1; + return avr_write_byte_default(pgm, p, m, addr, 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 -1; + return avr_read_byte_default(pgm, p, m, addr, value); }