Przeglądaj źródła

fix typo for heap cap free size

Kewal 8 lat temu
rodzic
commit
ae8a0bbf56
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      components/heap/include/esp_heap_alloc_caps.h

+ 3 - 3
components/heap/include/esp_heap_alloc_caps.h

@@ -24,11 +24,11 @@ extern "C" {
 /* Please use heap_caps_malloc() instead of this function */
 /* Please use heap_caps_malloc() instead of this function */
 void *pvPortMallocCaps(size_t xWantedSize, uint32_t caps) asm("heap_caps_malloc") __attribute__((deprecated));
 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 */
 /* 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
 #ifdef __cplusplus
 }
 }