diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-05 23:02:43 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-05 23:02:43 +0000 |
commit | af2c1fe0b2327427ea8c2adc376c06796141aedb (patch) | |
tree | 7011e0912cedf3470b14dbe4dc237933da287bab /nuttx/arch/z80 | |
parent | 26e1787a9bccfb9e301cbdceb70f838df158c7c7 (diff) | |
download | px4-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/z80')
-rw-r--r-- | nuttx/arch/z80/src/common/up_allocateheap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/z80/src/common/up_allocateheap.c b/nuttx/arch/z80/src/common/up_allocateheap.c index cb2f55593..368785cf2 100644 --- a/nuttx/arch/z80/src/common/up_allocateheap.c +++ b/nuttx/arch/z80/src/common/up_allocateheap.c @@ -109,6 +109,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 |