* avr.c: Add avr_read_byte_default().

Have avr_read_byte() call pgm->read_byte() or avr_read_byte_default().
Add avr_write_byte_default().
Have avr_write_byte() call pgm->write_byte or avr_write_byte_default().
* pgm.c: Initialize pgm->write_byte and pgm->read_byte.
* pgm.h: Add write_byte and read_byte fields to struct programmer_t.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@296 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Theodore A. Roth
2003-03-23 23:22:50 +00:00
parent 0c1039d8b3
commit 4165644dd9
4 changed files with 48 additions and 9 deletions

View File

@@ -1,3 +1,12 @@
2003-03-23 Theodore A. Roth <troth@openavr.org>
* avr.c: Add avr_read_byte_default().
Have avr_read_byte() call pgm->read_byte() or avr_read_byte_default().
Add avr_write_byte_default().
Have avr_write_byte() call pgm->write_byte or avr_write_byte_default().
* pgm.c: Initialize pgm->write_byte and pgm->read_byte.
* pgm.h: Add write_byte and read_byte fields to struct programmer_t.
2003-03-17 Theodore A. Roth <troth@openavr.org>
* avrdude.conf.in: Fix typo for devicecode deprecation comment.