update System/sv_task.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2024-02-04 07:32:17 +00:00
committed by Gitee
parent 276c5f2e09
commit 59dacea8f0

View File

@@ -3,8 +3,8 @@
* @file sv_task.c
* @brief 任务服务(仅在任务中调用)
* @author 迟凯峰
* @version V1.3.3
* @date 2024.01.31
* @version V1.3.4
* @date 2024.02.04
******************************************************************************/
#include "os_var.h"
@@ -14,9 +14,6 @@
/* 进入任务临界区 */
void su_enter_critical(void)
{
#if MCUCFG_ISA == __ARM__
if(!s_taskcri_counter)
#endif
mSysIRQ_Disable;
s_taskcri_counter++;
}