summaryrefslogtreecommitdiff
path: root/src/components.c
diff options
context:
space:
mode:
authorShicheng Chu <[email protected]>2023-06-29 23:24:25 +0800
committerGitHub <[email protected]>2023-06-29 11:24:25 -0400
commite2c031643c8dec7c9ea1581216e19bf19c8f73f0 (patch)
tree926536732e7472c5e86ac5198b239d82f9f55da4 /src/components.c
parent148ae53cf8d3abc2c2e11c94c171b123b950b2fc (diff)
[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)
Diffstat (limited to 'src/components.c')
-rw-r--r--src/components.c4
1 files changed, 2 insertions, 2 deletions
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;