mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-25 03:22:43 +00:00
Heap: fix typos in test and component
This commit is contained in:
@@ -122,7 +122,7 @@ TEST_CASE("IRAM_8BIT capability test", "[heap]")
|
||||
TEST_ASSERT((((int)ptr)&0xFF000000)==0x40000000);
|
||||
|
||||
/* As the heap allocator may present an overhead for allocated blocks,
|
||||
* we need to check that the free heap size is now smaller than former free size. */
|
||||
* we need to check that the free heap size is now smaller or equal to the former free size. */
|
||||
TEST_ASSERT(heap_caps_get_free_size(MALLOC_CAP_IRAM_8BIT) <= (free_size - heap_caps_get_allocated_size(ptr)));
|
||||
TEST_ASSERT(heap_caps_get_free_size(MALLOC_CAP_32BIT) <= (free_size32 - heap_caps_get_allocated_size(ptr)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user