From aebb58bf3671229ff4f6e63de5cd16916e81f460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B6=E4=B8=AD=E6=96=AD=E5=BB=B6=E8=BF=9F=E7=9A=84RTOS?= Date: Sat, 8 Nov 2025 14:29:14 +0000 Subject: [PATCH] update System/os_handler.c. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 零中断延迟的RTOS --- System/os_handler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();