From 41775cbdf51c765247f05d13a9f1198c59a384bb 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 d496300603..cf480e4d1f 100644 --- a/components/bt/common/include/bt_user_config.h +++ b/components/bt/common/include/bt_user_config.h @@ -80,4 +80,11 @@ #define UC_BT_LOG_OSI_TRACE_LEVEL UC_TRACE_LEVEL_WARNING #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__ */