diff options
| author | Man, Jianting (Meco) <[email protected]> | 2023-07-21 22:36:42 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-22 10:36:42 +0800 |
| commit | 244b903e5def3cd4aefc4bf2ebdc4687826e2f4d (patch) | |
| tree | 8bbed859a1b5c38a449b9e2c6a35d3026eeecaef /src/components.c | |
| parent | 52d3637fba5e3e4048ba036803d6292f3e7a4a70 (diff) | |
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
Diffstat (limited to 'src/components.c')
| -rw-r--r-- | src/components.c | 8 |
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 */ |
