mirror of
https://github.com/espressif/esp-idf.git
synced 2026-07-15 15:33:02 +03:00
feat(openthread): use heap_caps_calloc_prefer for messagepool
This commit is contained in:
@@ -227,6 +227,6 @@ uint32_t esp_openthread_get_alloc_caps(void)
|
||||
#if CONFIG_OPENTHREAD_PLATFORM_MALLOC_CAP_SPIRAM
|
||||
(MALLOC_CAP_SPIRAM | MALLOC_CAP_8BIT);
|
||||
#else
|
||||
(MALLOC_CAP_DEFAULT | MALLOC_CAP_8BIT);
|
||||
(MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user