update System/os_handler.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2025-11-08 14:29:14 +00:00
committed by Gitee
parent 7d45ab91bc
commit aebb58bf36
+2 -1
View File
@@ -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();