mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
heap: Correct the sense of a comment
This commit is contained in:
parent
c3bec5b103
commit
a76d5a33c9
@ -284,7 +284,7 @@ size_t multi_heap_get_allocated_size_impl(multi_heap_handle_t heap, void *p)
|
||||
heap_block_t *pb = get_block(p);
|
||||
|
||||
assert_valid_block(heap, pb);
|
||||
MULTI_HEAP_ASSERT(!is_free(pb), pb); // block should be free
|
||||
MULTI_HEAP_ASSERT(!is_free(pb), pb); // block shouldn't be free
|
||||
return block_data_size(pb);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user