drivers/nble: Enable debug only if CONFIG_BLUETOOTH_DEBUG_GATT is defined
This will prevent debug output to be printed if in case CONFIG_BLUETOOTH_DEBUG_GATT is not defined. Change-Id: I93be7ccbcf0a8eae5ecb54b174d6ed2d892673dd Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
60e781b6f6
commit
6514cda4b2
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@
|
|||
#include "conn_internal.h"
|
||||
#include "gatt_internal.h"
|
||||
|
||||
#if !defined(CONFIG_BLUETOOTH_DEBUG_GATT)
|
||||
#undef BT_DBG
|
||||
#define BT_DBG(fmt, ...)
|
||||
#endif
|
||||
|
||||
#define NBLE_BUF_SIZE 384
|
||||
|
||||
struct ble_gatt_service {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue