Bluetooth: Audio: Fix CAP initiator debug level
Add missing debug level Kconfig option and use it. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
5e49282dab
commit
6ca40703d1
2 changed files with 8 additions and 2 deletions
|
@ -36,7 +36,7 @@ config BT_DEBUG_CAP_ACCEPTOR
|
|||
|
||||
module = BT_CAP_ACCEPTOR
|
||||
legacy-debug-sym = BT_DEBUG_CAP_ACCEPTOR
|
||||
module-str = "Common Audio Profile"
|
||||
module-str = "Common Audio Profile Acceptor"
|
||||
source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
|
||||
|
||||
config BT_CAP_INITIATOR
|
||||
|
@ -48,7 +48,13 @@ config BT_CAP_INITIATOR
|
|||
|
||||
config BT_DEBUG_CAP_INITIATOR
|
||||
bool "Common Audio Profile Initiator debug"
|
||||
select DEPRECATED
|
||||
depends on BT_CAP_INITIATOR
|
||||
help
|
||||
Use this option to enable CAP Initiator debug logs for the
|
||||
Bluetooth Audio functionality.
|
||||
|
||||
module = BT_CAP_INITIATOR
|
||||
legacy-debug-sym = BT_DEBUG_CAP_INITIATOR
|
||||
module-str = "Common Audio Profile Initiator"
|
||||
source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(bt_cap_initiator, LOG_LEVEL_DBG);
|
||||
LOG_MODULE_REGISTER(bt_cap_initiator, CONFIG_BT_CAP_INITIATOR_LOG_LEVEL);
|
||||
|
||||
static const struct bt_cap_initiator_cb *cap_cb;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue