From e2c031643c8dec7c9ea1581216e19bf19c8f73f0 Mon Sep 17 00:00:00 2001 From: Shicheng Chu <1468559561@qq.com> Date: Thu, 29 Jun 2023 23:24:25 +0800 Subject: [include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750) --- src/components.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components.c') diff --git a/src/components.c b/src/components.c index 97ace80990..af74954d76 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) { -#if RT_DEBUG_INIT +#ifdef RT_DEBUG_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 ++) @@ -108,7 +108,7 @@ void rt_components_board_init(void) */ void rt_components_init(void) { -#if RT_DEBUG_INIT +#ifdef RT_DEBUG_INIT int result; const struct rt_init_desc *desc; -- cgit v1.3.1