Fix candidate for write fuse operation
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1519 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
9ff14b7a42
commit
189f829c3f
|
@ -434,6 +434,9 @@ static int serialupdi_read_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * mem,
|
|||
static int serialupdi_write_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * mem,
|
||||
unsigned long addr, unsigned char value)
|
||||
{
|
||||
if (strstr(mem->desc, "fuse") != 0) {
|
||||
return updi_nvm_write_fuse(pgm, p, mem->offset + addr, value);
|
||||
}
|
||||
return updi_write_byte(pgm, mem->offset + addr, value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue