提交 1b8d7b35 编写于 作者: xpxyr's avatar xpxyr

fixed Kconfig IDLE hook config

上级 0f1d4378
...@@ -51,11 +51,16 @@ config RT_USING_OVERFLOW_CHECK ...@@ -51,11 +51,16 @@ config RT_USING_OVERFLOW_CHECK
config RT_USING_HOOK config RT_USING_HOOK
bool "Enable system hook" bool "Enable system hook"
default y default y
select RT_USING_IDLE_HOOK
help help
Enable the hook function when system running, such as idle thread hook, Enable the hook function when system running, such as idle thread hook,
thread context switch etc. thread context switch etc.
if RT_USING_HOOK config RT_USING_IDLE_HOOK
bool "Enable IDLE Task hook"
default y if RT_USING_HOOK
if RT_USING_IDLE_HOOK
config RT_IDEL_HOOK_LIST_SIZE config RT_IDEL_HOOK_LIST_SIZE
int "The max size of idel hook list" int "The max size of idel hook list"
default 4 default 4
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册