mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-09-22 05:13:39 +08:00
+2
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user