diff options
| author | Bernard Xiong <[email protected]> | 2018-11-10 12:11:44 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-10 12:11:44 +0800 |
| commit | aa0799a9506651110a14b5487060fcf0758cdecf (patch) | |
| tree | 2cbaa9b5665e004a5f8b521f9c9c245743828e89 | |
| parent | ba1e18868eae37d1a8495d5c507d7f26c9bae477 (diff) | |
| parent | cca6e38758e1a7f54f874ce26eb9589772e74ab3 (diff) | |
Merge pull request #1962 from geniusgogo/fix_kconfig
Fix kconfig
| -rw-r--r-- | src/Kconfig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig index d3889f4211..78a3bf6d67 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -51,11 +51,16 @@ config RT_USING_OVERFLOW_CHECK config RT_USING_HOOK bool "Enable system hook" default y + select RT_USING_IDLE_HOOK help Enable the hook function when system running, such as idle thread hook, 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 int "The max size of idel hook list" default 4 |
