mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-02-05 11:29:44 +08:00
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user