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 86ce06c189
commit 7e32be2599
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> 2016-05-10 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Submitted by Hannes Jochriem: Submitted by Hannes Jochriem:

View File

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