From 033180b986c3ace75eeda093e38c7598883e8bc2 Mon Sep 17 00:00:00 2001 From: Tianhe Wang Date: Tue, 13 Oct 2015 13:13:11 +0000 Subject: [PATCH] pios_msheap.c edited online with Bitbucket revert this file, there is already another pull request. --- flight/pios/common/libraries/msheap/pios_msheap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/pios/common/libraries/msheap/pios_msheap.c b/flight/pios/common/libraries/msheap/pios_msheap.c index e7e03f8c6..9ce9f7b8a 100644 --- a/flight/pios/common/libraries/msheap/pios_msheap.c +++ b/flight/pios/common/libraries/msheap/pios_msheap.c @@ -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 }