From: Kewal Date: Wed, 13 Dec 2017 14:52:48 +0000 (+0800) Subject: fix typo for heap cap free size X-Git-Tag: v3.1-beta1~538^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae8a0bbf56d4da19f505f802b1643127d3f7fef2;p=esp-idf fix typo for heap cap free size --- diff --git a/components/heap/include/esp_heap_alloc_caps.h b/components/heap/include/esp_heap_alloc_caps.h index f92e92e352..7e6e25d6a8 100644 --- a/components/heap/include/esp_heap_alloc_caps.h +++ b/components/heap/include/esp_heap_alloc_caps.h @@ -24,11 +24,11 @@ extern "C" { /* Please use heap_caps_malloc() instead of this function */ void *pvPortMallocCaps(size_t xWantedSize, uint32_t caps) asm("heap_caps_malloc") __attribute__((deprecated)); -/* Please use heap_caps_get_minimum_free_heap_size() instead of this function */ -size_t xPortGetMinimumEverFreeHeapSizeCaps( uint32_t caps ) asm("heap_caps_get_minimum_free_heap_size") __attribute__((deprecated)); +/* Please use heap_caps_get_minimum_free_size() instead of this function */ +size_t xPortGetMinimumEverFreeHeapSizeCaps( uint32_t caps ) asm("heap_caps_get_minimum_free_size") __attribute__((deprecated)); /* Please use heap_caps_get_free_size() instead of this function */ -size_t xPortGetFreeHeapSizeCaps( uint32_t caps ) asm("heap_caps_get_free_heap_size") __attribute__((deprecated)); +size_t xPortGetFreeHeapSizeCaps( uint32_t caps ) asm("heap_caps_get_free_size") __attribute__((deprecated)); #ifdef __cplusplus }