Skip to content

Commit 0e5dd7d

Browse files
GuozhanxinBernardXiong
authored andcommitted
update Kconfig, add RT_HOOK_USING_FUNC_PTR
1 parent 576457b commit 0e5dd7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ config RT_USING_HOOK
8484
help
8585
Enable the hook function when system running, such as idle thread hook,
8686
thread context switch etc.
87+
if RT_USING_HOOK
88+
config RT_HOOK_USING_FUNC_PTR
89+
bool "Using function pointers as system hook"
90+
default y
91+
endif
8792

8893
config RT_USING_IDLE_HOOK
8994
bool "Enable IDLE Task hook"

0 commit comments

Comments
 (0)