mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
fix(bt/bluedroid): Fix BLE malloc internal wrapper fail
This commit is contained in:
@@ -654,7 +654,7 @@ static bool IRAM_ATTR is_in_isr_wrapper(void)
|
|||||||
|
|
||||||
static void *malloc_internal_wrapper(size_t size)
|
static void *malloc_internal_wrapper(size_t size)
|
||||||
{
|
{
|
||||||
void *p = heap_caps_malloc(size, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA);
|
void *p = heap_caps_malloc(size, MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA);
|
||||||
if(p == NULL) {
|
if(p == NULL) {
|
||||||
ESP_LOGE(BT_LOG_TAG, "Malloc failed");
|
ESP_LOGE(BT_LOG_TAG, "Malloc failed");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user