avrftdi_private.h: added missing msg level for avrdude_message in E/E_VOID macros

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1323 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Rene Liebscher 2014-06-17 20:27:37 +00:00
parent 2d2f71fb28
commit f57f89bfec
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-06-17 Rene Liebscher <R.Liebscher@gmx.de>
* avrftdi_private.h: added missing msg level for avrdude_message
in E/E_VOID macros
2014-06-17 Rene Liebscher <R.Liebscher@gmx.de> 2014-06-17 Rene Liebscher <R.Liebscher@gmx.de>
Removing exit calls from config parser Removing exit calls from config parser

View File

@ -40,7 +40,7 @@ enum { ERR, WARN, INFO, DEBUG, TRACE };
do { \ do { \
if ((x)) \ if ((x)) \
{ \ { \
avrdude_message("%s:%d %s() %s: %s (%d)\n\t%s\n", \ avrdude_message(MSG_INFO, "%s:%d %s() %s: %s (%d)\n\t%s\n", \
__FILE__, __LINE__, __FUNCTION__, \ __FILE__, __LINE__, __FUNCTION__, \
#x, strerror(errno), errno, ftdi_get_error_string(ftdi)); \ #x, strerror(errno), errno, ftdi_get_error_string(ftdi)); \
return -1; \ return -1; \
@ -51,7 +51,7 @@ enum { ERR, WARN, INFO, DEBUG, TRACE };
do { \ do { \
if ((x)) \ if ((x)) \
{ \ { \
avrdude_message("%s:%d %s() %s: %s (%d)\n\t%s\n", \ avrdude_message(MSG_INFO, "%s:%d %s() %s: %s (%d)\n\t%s\n", \
__FILE__, __LINE__, __FUNCTION__, \ __FILE__, __LINE__, __FUNCTION__, \
#x, strerror(errno), errno, ftdi_get_error_string(ftdi)); \ #x, strerror(errno), errno, ftdi_get_error_string(ftdi)); \
} \ } \