From 244b903e5def3cd4aefc4bf2ebdc4687826e2f4d Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Fri, 21 Jul 2023 22:36:42 -0400 Subject: [debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/components.c') diff --git a/src/components.c b/src/components.c index af74954d76..c9a25c76dc 100644 --- a/src/components.c +++ b/src/components.c @@ -84,7 +84,7 @@ INIT_EXPORT(rti_end, "6.end"); */ void rt_components_board_init(void) { -#ifdef RT_DEBUG_INIT +#ifdef RT_DEBUGING_INIT int result; const struct rt_init_desc *desc; for (desc = &__rt_init_desc_rti_board_start; desc < &__rt_init_desc_rti_board_end; desc ++) @@ -100,7 +100,7 @@ void rt_components_board_init(void) { (*fn_ptr)(); } -#endif /* RT_DEBUG_INIT */ +#endif /* RT_DEBUGING_INIT */ } /** @@ -108,7 +108,7 @@ void rt_components_board_init(void) */ void rt_components_init(void) { -#ifdef RT_DEBUG_INIT +#ifdef RT_DEBUGING_INIT int result; const struct rt_init_desc *desc; @@ -126,7 +126,7 @@ void rt_components_init(void) { (*fn_ptr)(); } -#endif /* RT_DEBUG_INIT */ +#endif /* RT_DEBUGING_INIT */ } #endif /* RT_USING_COMPONENTS_INIT */ -- cgit v1.3.1