Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b99d17f authored by Nick Pelly's avatar Nick Pelly Committed by Marcel Holtmann
Browse files

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: default avatarNick Pelly <npelly@google.com>
Acked-by: default avatarBrian Swetland <swetland@google.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 51a6fbc8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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