drivers/nble: Enable UART debug only if BLUETOOTH_DEBUG_DRIVER enabled
This allows to decrease number debug messages using config option. Change-Id: I987d25c6d4b18503d6beb7feab97e9207100323d Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
14680cf4ff
commit
b436fa16b5
5 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,11 @@
|
|||
#include "uart.h"
|
||||
#include "rpc.h"
|
||||
|
||||
#if !defined(CONFIG_BLUETOOTH_DEBUG_DRIVER)
|
||||
#undef BT_DBG
|
||||
#define BT_DBG(fmt, ...)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @note this structure must be self-aligned and self-packed
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue