mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
pvPortMalloc: Fix regression when changing to new heap implementation
This commit is contained in:
parent
7ae93f271c
commit
d601bedb85
@ -450,7 +450,7 @@ uint32_t xPortGetTickRateHz(void) {
|
|||||||
|
|
||||||
void *pvPortMalloc( size_t xWantedSize )
|
void *pvPortMalloc( size_t xWantedSize )
|
||||||
{
|
{
|
||||||
return heap_caps_malloc( MALLOC_CAP_8BIT, xWantedSize);
|
return heap_caps_malloc(xWantedSize, MALLOC_CAP_8BIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
void vPortFree( void *pv )
|
void vPortFree( void *pv )
|
||||||
|
Loading…
Reference in New Issue
Block a user