Define DEBUG and DEBUGRECV unconditionally, as MSG_TRACE2 messages.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1392 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch 2016-09-14 06:17:59 +00:00
parent 5b46537df2
commit 3f52fcce58
2 changed files with 7 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2016-09-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* stk500v2.c (DEBUG, DEBUGRECV): define these unconditionally,
as MSG_TRACE2 messages.
2016-05-10 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Submitted by Hannes Jochriem:

View File

@ -78,17 +78,9 @@
// Retry count
#define RETRIES 5
#if 0
#define DEBUG(...) avrdude_message(MSG_INFO, __VA_ARGS__)
#else
#define DEBUG(...)
#endif
#define DEBUG(...) avrdude_message(MSG_TRACE2, __VA_ARGS__)
#if 0
#define DEBUGRECV(...) avrdude_message(MSG_INFO, __VA_ARGS__)
#else
#define DEBUGRECV(...)
#endif
#define DEBUGRECV(...) avrdude_message(MSG_TRACE2, __VA_ARGS__)
enum hvmode
{