From 0e5dd7d1ab49edc0961c2520544836d464ba21b0 Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Wed, 5 Jan 2022 13:58:11 +0800 Subject: [PATCH] update Kconfig, add RT_HOOK_USING_FUNC_PTR --- src/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Kconfig b/src/Kconfig index 7c22752ed0..dda7f08032 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -84,6 +84,11 @@ config RT_USING_HOOK help Enable the hook function when system running, such as idle thread hook, thread context switch etc. + if RT_USING_HOOK + config RT_HOOK_USING_FUNC_PTR + bool "Using function pointers as system hook" + default y + endif config RT_USING_IDLE_HOOK bool "Enable IDLE Task hook" -- GitLab