Просмотр исходного кода

Merge branch 'bugfix/memory_debug_not_work' into 'master'

bugfix/fix the dependency error of macro for memory debug

Closes IDFGH-9248

See merge request espressif/esp-idf!19233
Jiang Jiang Jian 3 лет назад
Родитель
Сommit
c47c0097e2
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      components/bt/common/include/bt_user_config.h

+ 7 - 0
components/bt/common/include/bt_user_config.h

@@ -85,4 +85,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__ */