diff options
| author | Meco Man <[email protected]> | 2021-08-28 16:48:08 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-08-28 16:48:08 -0400 |
| commit | 1997113fbca8894dcaad75a6fa4e7b42396a4031 (patch) | |
| tree | 99f5f837836408f61e9c92e9a9840dbb8c5c2801 /libcpu/arm/cortex-m7 | |
| parent | 3d5582380d2c8612c43e1c2e3e5aa633f7f4647c (diff) | |
FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS
Diffstat (limited to 'libcpu/arm/cortex-m7')
| -rw-r--r-- | libcpu/arm/cortex-m7/cpuport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/arm/cortex-m7/cpuport.c b/libcpu/arm/cortex-m7/cpuport.c index 8dfcbe9cc4..f24c33cf4d 100644 --- a/libcpu/arm/cortex-m7/cpuport.c +++ b/libcpu/arm/cortex-m7/cpuport.c @@ -370,7 +370,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; @@ -406,7 +406,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 } |
