提交 7b99d17f 编写于 作者: N Nick Pelly 提交者: Marcel Holtmann

Bluetooth: Respect HCI_UART_DEBUG config in hci_ll.c

Following the pattern from hci_*.c, turn off BT_DBG messages unless
they have been requested via HCI_UART_DEBUG
Signed-off-by: NNick Pelly <npelly@google.com>
Acked-by: NBrian Swetland <swetland@google.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 51a6fbc8
......@@ -51,6 +51,11 @@
#include "hci_uart.h"
#ifndef CONFIG_BT_HCIUART_DEBUG
#undef BT_DBG
#define BT_DBG( A... )
#endif
/* HCILL commands */
#define HCILL_GO_TO_SLEEP_IND 0x30
#define HCILL_GO_TO_SLEEP_ACK 0x31
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册