Submitted by gerardoallende:

bug #59525: Bogus error message because Copy/Paste typo in stk500.c
* stk500.c (stk500_getparm): Fix bogus ID in error message




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1453 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2021-06-27 20:42:06 +00:00
parent 38e5aa33ea
commit c9aeaf8928
3 changed files with 8 additions and 1 deletions

View File

@ -3,3 +3,9 @@
bug #60753: Patch #1436 breaks multiple programmer/device combinations on MacOS BigSur bug #60753: Patch #1436 breaks multiple programmer/device combinations on MacOS BigSur
* avr.c: compare page_size > 1 instead of != 0 * avr.c: compare page_size > 1 instead of != 0
* stk500v2.c: (Ditto.) * stk500v2.c: (Ditto.)
2021-06-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Submitted by gerardoallende:
bug #59525: Bogus error message because Copy/Paste typo in stk500.c
* stk500.c (stk500_getparm): Fix bogus ID in error message

1
NEWS
View File

@ -51,6 +51,7 @@ Current:
bug #58095: error setting efuse on atmega328pb variant bug #58095: error setting efuse on atmega328pb variant
no-id: efuse section on ATmega32M1 lacks 'size' no-id: efuse section on ATmega32M1 lacks 'size'
bug #60753: Patch #1436 breaks multiple programmer/device combinations on MacOS BigSur bug #60753: Patch #1436 breaks multiple programmer/device combinations on MacOS BigSur
bug #59525: Bogus error message because Copy/Paste typo in stk500.c
* Patches: * Patches:
patch #9482: Add support for UPDI and AVR8X patch #9482: Add support for UPDI and AVR8X

View File

@ -1118,7 +1118,7 @@ static int stk500_getparm(PROGRAMMER * pgm, unsigned parm, unsigned * value)
else if (buf[0] != Resp_STK_OK) { else if (buf[0] != Resp_STK_OK) {
avrdude_message(MSG_INFO, "\n%s: stk500_getparm(): (a) protocol error, " avrdude_message(MSG_INFO, "\n%s: stk500_getparm(): (a) protocol error, "
"expect=0x%02x, resp=0x%02x\n", "expect=0x%02x, resp=0x%02x\n",
progname, Resp_STK_INSYNC, buf[0]); progname, Resp_STK_OK, buf[0]);
return -3; return -3;
} }