From 9892ce6a5357dbd67d7b3a49acfbf47ecdbd8b41 Mon Sep 17 00:00:00 2001 From: jincheng Date: Fri, 22 Jul 2022 16:13:09 +0800 Subject: [PATCH] fix the dependency error of macro for memory debug --- components/bt/common/include/bt_user_config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/bt/common/include/bt_user_config.h b/components/bt/common/include/bt_user_config.h index 0ad168d224..c4380ccec1 100644 --- a/components/bt/common/include/bt_user_config.h +++ b/components/bt/common/include/bt_user_config.h @@ -93,4 +93,11 @@ #define UC_BT_BLUFI_ENABLE FALSE #endif +//MEMORY DEBUG +#ifdef CONFIG_BT_BLUEDROID_MEM_DEBUG +#define UC_BT_BLUEDROID_MEM_DEBUG TRUE +#else +#define UC_BT_BLUEDROID_MEM_DEBUG FALSE +#endif + #endif /* __BT_USER_CONFIG_H__ */