mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-22 13:10:55 +01:00
Cleanup compiler warnings.
This commit is contained in:
parent
c03be1b100
commit
e936070464
1 changed files with 4 additions and 4 deletions
|
@ -25,25 +25,25 @@
|
||||||
#if CORE_DEBUG_LEVEL >= 4
|
#if CORE_DEBUG_LEVEL >= 4
|
||||||
#define NIMBLE_LOGD( tag, format, ... ) MODLOG_DFLT(ERROR, "D %s: "#format"\n",tag,##__VA_ARGS__)
|
#define NIMBLE_LOGD( tag, format, ... ) MODLOG_DFLT(ERROR, "D %s: "#format"\n",tag,##__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define NIMBLE_LOGD( tag, format, ... )
|
#define NIMBLE_LOGD( tag, format, ... ) (void)tag
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CORE_DEBUG_LEVEL >= 3
|
#if CORE_DEBUG_LEVEL >= 3
|
||||||
#define NIMBLE_LOGI( tag, format, ... ) MODLOG_DFLT(ERROR, "I %s: "#format"\n",tag,##__VA_ARGS__)
|
#define NIMBLE_LOGI( tag, format, ... ) MODLOG_DFLT(ERROR, "I %s: "#format"\n",tag,##__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define NIMBLE_LOGI( tag, format, ... )
|
#define NIMBLE_LOGI( tag, format, ... ) (void)tag
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CORE_DEBUG_LEVEL >= 2
|
#if CORE_DEBUG_LEVEL >= 2
|
||||||
#define NIMBLE_LOGW( tag, format, ... ) MODLOG_DFLT(ERROR, "W %s: "#format"\n",tag,##__VA_ARGS__)
|
#define NIMBLE_LOGW( tag, format, ... ) MODLOG_DFLT(ERROR, "W %s: "#format"\n",tag,##__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define NIMBLE_LOGW( tag, format, ... )
|
#define NIMBLE_LOGW( tag, format, ... ) (void)tag
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CORE_DEBUG_LEVEL >= 1
|
#if CORE_DEBUG_LEVEL >= 1
|
||||||
#define NIMBLE_LOGE( tag, format, ... ) MODLOG_DFLT(ERROR, "E %s: "#format"\n",tag,##__VA_ARGS__)
|
#define NIMBLE_LOGE( tag, format, ... ) MODLOG_DFLT(ERROR, "E %s: "#format"\n",tag,##__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define NIMBLE_LOGE( tag, format, ... )
|
#define NIMBLE_LOGE( tag, format, ... ) (void)tag
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NIMBLE_LOGC( tag, format, ... ) MODLOG_DFLT(CRITICAL, "CRIT %s: "#format"\n",tag,##__VA_ARGS__)
|
#define NIMBLE_LOGC( tag, format, ... ) MODLOG_DFLT(CRITICAL, "CRIT %s: "#format"\n",tag,##__VA_ARGS__)
|
||||||
|
|
Loading…
Reference in a new issue