mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 15:05:27 +00:00
Fix (again, hopefully) page addressing for the ATMega parts.
Rename the poorly chosen name "bank" to "page" for page addressing. Atmel calls it "page" in their documentation. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@91 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
4
term.c
4
term.c
@@ -316,8 +316,8 @@ int cmd_write(int fd, struct avrpart * p, int argc, char * argv[])
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (p->mem[memtype].banked) {
|
||||
fprintf(stderr, "%s (write): sorry, interactive write of bank addressed "
|
||||
if (p->mem[memtype].paged) {
|
||||
fprintf(stderr, "%s (write): sorry, interactive write of page addressed "
|
||||
"memory is not supported\n", progname);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user