summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨澄 <[email protected]>2021-11-09 23:32:51 +0800
committerGitHub <[email protected]>2021-11-09 23:32:51 +0800
commit216cd309eae96ae3b06e3657fd0f9978569561e4 (patch)
tree013419057495a371e3b748c39ee9d8d746279a91
parente509b9fe32dd34cd1fdec951b7c233e11a3d0d58 (diff)
Update kservice.c
-rw-r--r--src/kservice.c4
1 files 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