From 3f52fcce586c1f63b91537375052aa0b10fa46fa Mon Sep 17 00:00:00 2001 From: joerg_wunsch Date: Wed, 14 Sep 2016 06:17:59 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ stk500v2.c | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 975f5231..9ee8f6f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-09-14 Joerg Wunsch + + * stk500v2.c (DEBUG, DEBUGRECV): define these unconditionally, + as MSG_TRACE2 messages. + 2016-05-10 Joerg Wunsch Submitted by Hannes Jochriem: diff --git a/stk500v2.c b/stk500v2.c index 5f1f79ed..7ff773b5 100644 --- a/stk500v2.c +++ b/stk500v2.c @@ -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 {