1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

Changed incorrect #if to #ifdef in pios_msheap.c

This commit is contained in:
Paul Jewell 2015-09-13 12:39:03 +01:00
parent d6fa0bbf35
commit 5517ff322e

View File

@ -62,7 +62,7 @@ extern char _efastheap;
#undef MPU_WRAPPERS_INCLUDED_FROM_API_FILE
heap_handle_t sram_heap;
#if PIOS_TARGET_PROVIDES_FAST_HEAP
#ifdef 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);
#if PIOS_TARGET_PROVIDES_FAST_HEAP
#ifdef PIOS_TARGET_PROVIDES_FAST_HEAP
msheap_init(&fast_heap, &_sfastheap, &_efastheap);
#endif
}