From 59dacea8f0f276b727366a26247fa63ca82abff7 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: Sun, 4 Feb 2024 07:32:17 +0000 Subject: [PATCH] update System/sv_task.c. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 零中断延迟的RTOS --- System/sv_task.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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++; }