mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 08:31:44 +01:00
TLSF: fix the patch for tlsf_check function in ROM
tlsf_check in the patch was not called because the the TLSF functions table in ROM was still pointing to the ROM implementation.
This commit is contained in:
committed by
Guillaume Souchere
parent
860232bdaf
commit
2e897c2e74
@@ -359,10 +359,10 @@ multi_heap_handle_t multi_heap_register(void *start, size_t size)
|
||||
memset(start, FREE_FILL_PATTERN, size);
|
||||
}
|
||||
#endif
|
||||
#ifdef CONFIG_HEAP_TLSF_USE_ROM_IMPL
|
||||
#if CONFIG_HEAP_TLSF_USE_ROM_IMPL
|
||||
tlsf_poison_fill_pfunc_set(multi_heap_internal_poison_fill_region);
|
||||
tlsf_poison_check_pfunc_set(multi_heap_internal_check_block_poisoning);
|
||||
#endif
|
||||
#endif // CONFIG_HEAP_TLSF_USE_ROM_IMPL
|
||||
return multi_heap_register_impl(start, size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user