diff --git a/System/sv_task.c b/System/sv_task.c index 80c89cc..ced2b78 100644 --- a/System/sv_task.c +++ b/System/sv_task.c @@ -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++; }