删除文件 System/os_starter.c

This commit is contained in:
零中断延迟的RTOS
2024-04-17 13:48:51 +00:00
committed by Gitee
parent 0188370905
commit b8533bccfd

View File

@@ -1,36 +0,0 @@
/**************************************************************************//**
* @item CosyOS-II Kernel
* @file os_starter.c
* @brief 启动任务Starter
* @author 迟凯峰
* @version V2.1.0
* @date 2024.03.31
******************************************************************************/
#include "os_link.h"
dCreateTask(Starter, SYSCFG_TASKPRIORITY - 2, MCUCFG_STACKSIZE_STARTER, 0, 0)
{
#if OS_TIMINTTOTAL || OS_TIMQRYTOTAL
s_u8_t i;
#if OS_TIMINTTOTAL
i = OS_TIMINTTOTAL;
while(i--){
if(s_timint_hookortask[i]){
sStartTask_TimInt(i);
}
}
#endif
#if OS_TIMQRYTOTAL
i = OS_TIMQRYTOTAL - 1;
while(i--){
if(s_timqry_hookortask[i]){
sStartTask_TimQry(i);
}
}
#endif
#endif
start_hook();
uDeleteTasking;
uEndTasking;
}