mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-02-05 11:29:44 +08:00
删除文件 System/os_starter.c
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user