Bluetooth: Audio: Add missing codec debug Kconfig

Add misisng codec debug Kconfig for the codec.c file.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2022-11-28 11:40:41 +01:00 committed by Fabio Baltieri
commit a9071b361f
4 changed files with 8 additions and 1 deletions

View file

@ -273,6 +273,11 @@ legacy-debug-sym = BT_AUDIO_DEBUG_STREAM
module-str = "Bluetooth Audio Stream"
source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
parent-module = BT
module = BT_AUDIO_CODEC
module-str = "Bluetooth Audio Codec"
source "subsys/logging/Kconfig.template.log_config_inherit"
config BT_AUDIO_DEBUG_STREAM_DATA
bool "Bluetooth Audio Stream data debug"
depends on BT_AUDIO_STREAM_LOG_LEVEL_DBG

View file

@ -16,7 +16,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(bt_audio, LOG_LEVEL_DBG);
LOG_MODULE_REGISTER(bt_audio_codec, CONFIG_BT_AUDIO_CODEC_LOG_LEVEL);
bool bt_codec_get_val(const struct bt_codec *codec,
uint8_t type,