summaryrefslogtreecommitdiff
path: root/libcpu/rx/cpuport.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/rx/cpuport.c')
-rw-r--r--libcpu/rx/cpuport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/rx/cpuport.c b/libcpu/rx/cpuport.c
index 9f737a50e7..366569f63d 100644
--- a/libcpu/rx/cpuport.c
+++ b/libcpu/rx/cpuport.c
@@ -94,7 +94,7 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter,
return(rt_uint8_t *)stack_frame;
}
-#if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
+#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
extern void list_thread(void);
#endif
extern rt_thread_t rt_current_thread;
@@ -130,7 +130,7 @@ void rt_hw_hard_fault_exception(struct stack_frame* exception_contex)
rt_kprintf("acclo: 0x%08x\n", exception_contex->ACCLO);
}
rt_kprintf("hard fault on thread: %s\n", rt_current_thread->name);
- #if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
+ #if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
list_thread();
#endif
while (1);