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/kservice.c | |
| parent | 52d3637fba5e3e4048ba036803d6292f3e7a4a70 (diff) | |
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
Diffstat (limited to 'src/kservice.c')
| -rw-r--r-- | src/kservice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kservice.c b/src/kservice.c index 7e750b52e1..9a8e89f4f2 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -1987,7 +1987,7 @@ int __rt_ffs(int value) #define __on_rt_assert_hook(ex, func, line) __ON_HOOK_ARGS(rt_assert_hook, (ex, func, line)) #endif -#ifdef RT_DEBUG +#ifdef RT_USING_DEBUG /* RT_ASSERT(EX)'s hook */ void (*rt_assert_hook)(const char *ex, const char *func, rt_size_t line); @@ -2036,6 +2036,6 @@ void rt_assert_handler(const char *ex_string, const char *func, rt_size_t line) } } RTM_EXPORT(rt_assert_handler); -#endif /* RT_DEBUG */ +#endif /* RT_USING_DEBUG */ /**@}*/ |
