diff options
| author | geniusgogo <[email protected]> | 2024-05-09 11:33:50 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-05-09 00:33:32 -0400 |
| commit | f770f543a6a0833049551fd4c010d48ca8bcf6ec (patch) | |
| tree | 49a4454fa9b3495fc8dfb27d479527ff94557835 /src | |
| parent | 95f0b029b03474a515924bd781e1643c591450e1 (diff) | |
fix RT_DEBUGING_ASSERT
Diffstat (limited to 'src')
| -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 596fe69379..49305a0f35 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -978,7 +978,7 @@ int __rt_ffs(int value) #endif /* RT_USING_TINY_FFS */ #endif /* RT_USING_CPU_FFS */ -#ifdef RT_USING_DEBUG +#ifdef RT_DEBUGING_ASSERT /* RT_ASSERT(EX)'s hook */ void (*rt_assert_hook)(const char *ex, const char *func, rt_size_t line); @@ -1028,6 +1028,6 @@ void rt_assert_handler(const char *ex_string, const char *func, rt_size_t line) } } RTM_EXPORT(rt_assert_handler); -#endif /* RT_USING_DEBUG */ +#endif /* RT_DEBUGING_ASSERT */ /**@}*/ |
