fix the issue of functions not defined when enable memory debug

Closes https://github.com/espressif/esp-idf/issues/9248
This commit is contained in:
jincheng 2022-07-01 14:58:12 +08:00
parent a5d6a93c3c
commit 3de3a8b354
2 changed files with 6 additions and 6 deletions

View File

@ -54,6 +54,12 @@
#define BTC_DYNAMIC_MEMORY FALSE #define BTC_DYNAMIC_MEMORY FALSE
#endif #endif
#if UC_BT_BLUEDROID_MEM_DEBUG
#define HEAP_MEMORY_DEBUG TRUE
#else
#define HEAP_MEMORY_DEBUG FALSE
#endif
#ifndef BT_BLE_DYNAMIC_ENV_MEMORY #ifndef BT_BLE_DYNAMIC_ENV_MEMORY
#define BT_BLE_DYNAMIC_ENV_MEMORY FALSE #define BT_BLE_DYNAMIC_ENV_MEMORY FALSE
#endif #endif

View File

@ -2252,12 +2252,6 @@ The maximum number of payload octets that the local device can receive in a sing
#define BTSNOOP_MEM FALSE #define BTSNOOP_MEM FALSE
#endif #endif
#if UC_BT_BLUEDROID_MEM_DEBUG
#define HEAP_MEMORY_DEBUG TRUE
#else
#define HEAP_MEMORY_DEBUG FALSE
#endif
#if UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST #if UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST
#define HEAP_ALLOCATION_FROM_SPIRAM_FIRST TRUE #define HEAP_ALLOCATION_FROM_SPIRAM_FIRST TRUE
#else #else