diff options
Diffstat (limited to 'nuttx/arch/sh/src/m16c/m16c_dumpstate.c')
-rw-r--r-- | nuttx/arch/sh/src/m16c/m16c_dumpstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sh/src/m16c/m16c_dumpstate.c b/nuttx/arch/sh/src/m16c/m16c_dumpstate.c index 3570a9ebe..8083f62bd 100644 --- a/nuttx/arch/sh/src/m16c/m16c_dumpstate.c +++ b/nuttx/arch/sh/src/m16c/m16c_dumpstate.c @@ -171,7 +171,7 @@ void up_dumpstate(void) if (rtcb->pid == 0) { - ustackbase = g_heapbase - 1; + ustackbase = g_idle_topstack - 1; ustacksize = CONFIG_IDLETHREAD_STACKSIZE; } else |