Bluetooth: Add BLUETOOTH_DEBUG configuration option
BLUETOOTH_DEBUG option enables extensive debug output to serial console. Disabled by default. Change-Id: I71a6ca4c4f1dfb5bd818e6b8320a07249befadfb Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
97892857e9
commit
b3e25209a8
2 changed files with 14 additions and 0 deletions
|
@ -37,7 +37,12 @@
|
|||
|
||||
/* Bluetooth subsystem logging helpers */
|
||||
|
||||
#if defined(CONFIG_BLUETOOTH_DEBUG)
|
||||
#define BT_DBG(fmt, ...) printk("bt: %s: " fmt, __func__, ##__VA_ARGS__)
|
||||
#else
|
||||
#define BT_DBG(fmt, ...)
|
||||
#endif /* CONFIG_BLUETOOTH_DEBUG */
|
||||
|
||||
#define BT_ERR(fmt, ...) printk("bt: %s: " fmt, __func__, ##__VA_ARGS__)
|
||||
#define BT_WARN(fmt, ...) printk("bt: %s: " fmt, __func__, ##__VA_ARGS__)
|
||||
#define BT_INFO(fmt, ...) printk("bt: " fmt, ##__VA_ARGS__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue