Merge branch 'bugfix/freertos_malloc_regression' into 'master'

pvPortMalloc: Fix regression when changing to new heap implementation

See merge request !982
This commit is contained in:
Angus Gratton
2017-07-12 16:18:12 +08:00

View File

@@ -450,7 +450,7 @@ uint32_t xPortGetTickRateHz(void) {
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 )