mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
newlib: reverted support of memalign function
This commit is contained in:
parent
45766daa4f
commit
8e5ea171d3
@ -91,7 +91,10 @@ void newlib_include_heap_impl(void)
|
||||
*/
|
||||
void* memalign(size_t alignment, size_t n)
|
||||
{
|
||||
return heap_caps_aligned_alloc(alignment, n, MALLOC_CAP_DEFAULT);
|
||||
extern void memalign_function_was_linked_but_unsupported_in_esp_idf(void);
|
||||
memalign_function_was_linked_but_unsupported_in_esp_idf();
|
||||
return NULL;
|
||||
|
||||
}
|
||||
|
||||
int malloc_trim(size_t pad)
|
||||
|
Loading…
Reference in New Issue
Block a user