avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #59525] Bogus error message because Copy/Paste typo in stk500.c


From: anónimo
Subject: [bug #59525] Bogus error message because Copy/Paste typo in stk500.c
Date: Mon, 23 Nov 2020 18:50:13 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

URL:
  <https://savannah.nongnu.org/bugs/?59525>

                 Summary: Bogus error message because Copy/Paste typo in
stk500.c
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: lun 23 nov 2020 23:50:11 UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: gerardoallende
        Originator Email: gerardoallende@gmail.com
             Open/Closed: Open
                 Release: SVN snapshot
         Discussion Lock: Any
     Programmer hardware: arduino
             Device type: 

    _______________________________________________________

Details:

Avrdude checks for Resp_STK_OK but on error says it was expecting for
Resp_STK_INSYNC.

--- /trunk/avrdude/stk500.c
+++ /trunk/avrdude/stk500_fixed.c
@@ -1118,7 +1118,7 @@
   else if (buf[0] != Resp_STK_OK) {
     avrdude_message(MSG_INFO, "\n%s: stk500_getparm(): (a) protocol error, "
                     "expect=0x%02x, resp=0x%02x\n",
-                    progname, Resp_STK_INSYNC, buf[0]);
+                    progname, Resp_STK_OK, buf[0]);
     return -3;
   }
 




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?59525>

_______________________________________________
  Mensaje enviado vía Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]