Merge pull request #1033 from MaBecker/patch-2

set NET_DBG 0 if def RELEASE
This commit is contained in:
Gordon Williams 2017-01-25 08:58:57 +00:00 committed by GitHub
commit ddc607b5db

View File

@ -34,7 +34,11 @@ typedef long long int64_t;
//#define espconn_abort espconn_disconnect
// Set NET_DBG to 0 to disable debug printf's, to 1 for important printf's
#ifdef RELEASE
#define NET_DBG 0
#else
#define NET_DBG 1
#endif
// Normal debug
#if NET_DBG > 0
#define DBG(format, ...) os_printf(format, ## __VA_ARGS__)