From 216cd309eae96ae3b06e3657fd0f9978569561e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=BE=84?= <36236188+Eureka1024@users.noreply.github.com> Date: Tue, 9 Nov 2021 23:32:51 +0800 Subject: [PATCH] Update kservice.c --- src/kservice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kservice.c b/src/kservice.c index 6c54766728..b526291da2 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -1353,7 +1353,7 @@ RTM_EXPORT(rt_free_align); #endif /* RT_USING_HEAP */ #ifndef RT_USING_CPU_FFS -#ifdef RT_KSERVICE_USING_TINY_FFS +#ifdef RT_USING_TINY_FFS const rt_uint8_t __lowest_bit_bitmap[] = { /* 0 - 7 */ 0, 1, 2, 27, 3, 24, 28, 32, @@ -1423,7 +1423,7 @@ int __rt_ffs(int value) return __lowest_bit_bitmap[(value & 0xff000000) >> 24] + 25; } -#endif /* RT_KSERVICE_USING_TINY_FFS */ +#endif /* RT_USING_TINY_FFS */ #endif /* RT_USING_CPU_FFS */ #ifdef RT_DEBUG