summaryrefslogtreecommitdiff
path: root/components/drivers/core
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2023-07-21 22:36:42 -0400
committerGitHub <[email protected]>2023-07-22 10:36:42 +0800
commit244b903e5def3cd4aefc4bf2ebdc4687826e2f4d (patch)
tree8bbed859a1b5c38a449b9e2c6a35d3026eeecaef /components/drivers/core
parent52d3637fba5e3e4048ba036803d6292f3e7a4a70 (diff)
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
Diffstat (limited to 'components/drivers/core')
-rw-r--r--components/drivers/core/dm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/core/dm.c b/components/drivers/core/dm.c
index cf5465b89c..20c2fca1d3 100644
--- a/components/drivers/core/dm.c
+++ b/components/drivers/core/dm.c
@@ -27,7 +27,7 @@ INIT_EXPORT(rti_secondary_cpu_end, "7.end");
void rt_dm_secondary_cpu_init(void)
{
-#if RT_DEBUG_INIT
+#if RT_DEBUGING_INIT
int result;
const struct rt_init_desc *desc;
@@ -45,7 +45,7 @@ void rt_dm_secondary_cpu_init(void)
{
(*fn_ptr)();
}
-#endif /* RT_DEBUG_INIT */
+#endif /* RT_DEBUGING_INIT */
}
#endif /* RT_USING_SMP */