From ecef16aa86612587a3b9d77092451a518c800384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Sun, 15 Aug 2021 13:55:04 +0200 Subject: [PATCH] bluetooth: hci: esp32: Fix DBG logging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The log level was always set to debug. Defining BT_DBG_ENABLED same as for other bluetooth files allows to switch off debug log messages. Signed-off-by: Martin Jäger --- drivers/bluetooth/hci/hci_esp32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/hci/hci_esp32.c b/drivers/bluetooth/hci/hci_esp32.c index 21f0c152861..dd5f72f1e3e 100644 --- a/drivers/bluetooth/hci/hci_esp32.c +++ b/drivers/bluetooth/hci/hci_esp32.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ +#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER) #define LOG_MODULE_NAME bt_hci_driver_esp32 #include "common/log.h"