1
0
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:
Tianhe Wang 2015-10-13 13:13:11 +00:00
parent 1807c5c27e
commit 033180b986

View File

@ -62,7 +62,7 @@ extern char _efastheap;
#undef MPU_WRAPPERS_INCLUDED_FROM_API_FILE
heap_handle_t sram_heap;
#ifdef PIOS_TARGET_PROVIDES_FAST_HEAP
#if PIOS_TARGET_PROVIDES_FAST_HEAP
heap_handle_t fast_heap;
#else
#define fast_heap sram_heap
@ -131,7 +131,7 @@ void
vPortInitialiseBlocks(void)
{
msheap_init(&sram_heap, &_sheap, &_eheap);
#ifdef PIOS_TARGET_PROVIDES_FAST_HEAP
#if PIOS_TARGET_PROVIDES_FAST_HEAP
msheap_init(&fast_heap, &_sfastheap, &_efastheap);
#endif
}