mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
pios_msheap.c edited online with Bitbucket
revert this file, there is already another pull request.
This commit is contained in:
parent
1807c5c27e
commit
033180b986
@ -62,7 +62,7 @@ extern char _efastheap;
|
|||||||
#undef MPU_WRAPPERS_INCLUDED_FROM_API_FILE
|
#undef MPU_WRAPPERS_INCLUDED_FROM_API_FILE
|
||||||
|
|
||||||
heap_handle_t sram_heap;
|
heap_handle_t sram_heap;
|
||||||
#ifdef PIOS_TARGET_PROVIDES_FAST_HEAP
|
#if PIOS_TARGET_PROVIDES_FAST_HEAP
|
||||||
heap_handle_t fast_heap;
|
heap_handle_t fast_heap;
|
||||||
#else
|
#else
|
||||||
#define fast_heap sram_heap
|
#define fast_heap sram_heap
|
||||||
@ -131,7 +131,7 @@ void
|
|||||||
vPortInitialiseBlocks(void)
|
vPortInitialiseBlocks(void)
|
||||||
{
|
{
|
||||||
msheap_init(&sram_heap, &_sheap, &_eheap);
|
msheap_init(&sram_heap, &_sheap, &_eheap);
|
||||||
#ifdef PIOS_TARGET_PROVIDES_FAST_HEAP
|
#if PIOS_TARGET_PROVIDES_FAST_HEAP
|
||||||
msheap_init(&fast_heap, &_sfastheap, &_efastheap);
|
msheap_init(&fast_heap, &_sfastheap, &_efastheap);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user