summaryrefslogtreecommitdiff
path: root/nuttx/arch/z16/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-05 23:02:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-05 23:02:43 +0000
commitaf2c1fe0b2327427ea8c2adc376c06796141aedb (patch)
tree7011e0912cedf3470b14dbe4dc237933da287bab /nuttx/arch/z16/src
parent26e1787a9bccfb9e301cbdceb70f838df158c7c7 (diff)
downloadpx4-nuttx-af2c1fe0b2327427ea8c2adc376c06796141aedb.tar.gz
px4-nuttx-af2c1fe0b2327427ea8c2adc376c06796141aedb.tar.bz2
px4-nuttx-af2c1fe0b2327427ea8c2adc376c06796141aedb.zip
STM32 Kconfig looks good. STM32 external ram configuration changed.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5100 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16/src')
-rw-r--r--nuttx/arch/z16/src/common/up_allocateheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/z16/src/common/up_allocateheap.c b/nuttx/arch/z16/src/common/up_allocateheap.c
index 62d96e0b3..0b6c766d3 100644
--- a/nuttx/arch/z16/src/common/up_allocateheap.c
+++ b/nuttx/arch/z16/src/common/up_allocateheap.c
@@ -107,6 +107,6 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
#if CONFIG_MM_REGIONS > 1
void up_addregion(void)
{
- mm_addregion((FAR void*)CONFIG_HEAP2_BASE, CONFIG_HEAP2_END - CONFIG_HEAP2_BASE);
+ mm_addregion((FAR void*)CONFIG_HEAP2_BASE, CONFIG_HEAP2_SIZE);
}
#endif