Add verbose option

This commit is contained in:
dlktdr
2021-12-10 22:46:42 +01:00
committed by Risto
parent 8a7ba1bd96
commit 99253efd75
4 changed files with 18 additions and 6 deletions
+8
View File
@@ -58,8 +58,16 @@ enum BluetoothStates {
#else
#if defined(DEBUG_BLUETOOTH)
#define BLUETOOTH_TRACE(...) TRACE_NOCRLF(__VA_ARGS__);
#define BLUETOOTH_TRACE_TIMESTAMP(f_, ...) debugPrintf((TRACE_TIME_FORMAT f_), TRACE_TIME_VALUE, ##__VA_ARGS__)
#if defined(DEBUG_BLUETOOTH_VERBOSE)
#define BLUETOOTH_TRACE_VERBOSE(...) TRACE_NOCRLF(__VA_ARGS__);
#else
#define BLUETOOTH_TRACE_VERBOSE(...)
#endif
#else
#define BLUETOOTH_TRACE(...)
#define BLUETOOTH_TIMESTAMP(f_, ...)
#define BLUETOOTH_TRACE_VERBOSE(...)
#endif
#endif