diff --git a/System/os_handler.c b/System/os_handler.c index 7e2e1594..fefa2b7f 100644 --- a/System/os_handler.c +++ b/System/os_handler.c @@ -4,7 +4,7 @@ * @brief tCosyTick_Handler and sPendSV_Handler * @author 迟凯峰 * @version V2.0.4 - * @date 2025.11.07 + * @date 2025.11.08 ******************************************************************************/ #include "os_var.h" @@ -590,6 +590,7 @@ __IAR_WEAK s_u8_t sPendSV_Handler(void) MCUCFG_OSIT_ATTRIBUTE } #endif + /* 新任务为事件阻塞 -> 内核上锁 */// 使服务层临界区连续。 if(node_news->blocktype){ node_news->blocktype = 0; mSysIRQ_Disable();