summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/z8/up_mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z80/src/z8/up_mem.h')
-rw-r--r--nuttx/arch/z80/src/z8/up_mem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/z80/src/z8/up_mem.h b/nuttx/arch/z80/src/z8/up_mem.h
index 72362edcb..822af3f71 100644
--- a/nuttx/arch/z80/src/z8/up_mem.h
+++ b/nuttx/arch/z80/src/z8/up_mem.h
@@ -62,7 +62,7 @@
#ifndef CONFIG_HEAP1_END
extern far unsigned long far_stacktop;
-# define CONFIG_HEAP1_END (((uint16)&far_stacktop) - CONFIG_PROC_STACK_SIZE + 1)
+# define CONFIG_HEAP1_END (((uint16)&far_stacktop) - CONFIG_IDLETHREAD_STACKSIZE + 1)
#endif
/************************************************************************************