FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS

This commit is contained in:
Meco Man
2021-08-28 16:48:08 -04:00
parent 3d5582380d
commit 1997113fbc
29 changed files with 95 additions and 95 deletions
+2 -2
View File
@@ -373,7 +373,7 @@ struct exception_info
void rt_hw_hard_fault_exception(struct exception_info *exception_info)
{
#if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
extern long list_thread(void);
#endif
struct exception_stack_frame *exception_stack = &exception_info->stack_frame.exception_stack_frame;
@@ -409,7 +409,7 @@ void rt_hw_hard_fault_exception(struct exception_info *exception_info)
{
rt_kprintf("hard fault on thread: %s\r\n\r\n", rt_thread_self()->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
}