summaryrefslogtreecommitdiff
path: root/src/components.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.c')
-rw-r--r--src/components.c8
1 files changed, 4 insertions, 4 deletions
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 */