update Hook/pendsv_hook.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2025-08-08 06:55:09 +00:00
committed by Gitee
parent 275a844b30
commit 9b5ccc2fab
+1 -2
View File
@@ -10,12 +10,11 @@
******************************************************************************/
#include "CosyOS.H"
#if 1 /* 编译开关 *//* 如果该函数在用户文件中实现且此处的弱定义无效,可手动移除该函数(1 改为 0)*/ \
&& (SYSCFG_PENDSVHOOK == __ENABLED__)
__WEAK void pendsv_hook(void) MCUCFG_OSIT_ATTRIBUTE
{
}
#endif