arch/arm/src/stm32h7/stm32_allocateheap.c: Fix compilation when CONFIG_MM_REGIONS == 1

Signed-off-by: Jukka Laitinen <jukka.laitinen@intel.com>
This commit is contained in:
Jukka Laitinen 2020-04-17 13:12:05 +03:00 committed by patacongo
parent 63e3054ced
commit 2ef571453a

View File

@ -300,6 +300,7 @@ void up_allocate_kheap(FAR void **heap_start, size_t *heap_size)
} }
#endif #endif
#if (CONFIG_MM_REGIONS > 1)
/**************************************************************************** /****************************************************************************
* Name: addregion * Name: addregion
* *
@ -389,3 +390,4 @@ void arm_addregion(void)
} }
#endif #endif
} }
#endif