删除文件 System/os_main.c

This commit is contained in:
零中断延迟的RTOS
2024-04-17 13:48:08 +00:00
committed by Gitee
parent ce9e326461
commit 0d9cea6ca8

View File

@@ -1,32 +0,0 @@
/**************************************************************************//**
* @item CosyOS-II Kernel
* @file os_main.c
* @brief 主函数
* @author 迟凯峰
* @version V2.1.0
* @date 2024.03.31
******************************************************************************/
#include "os_link.h"
int main(void)
{
void s_init_timing(void);
#if SYSCFG_SAFERUNTIME == __ENABLED__
s_tid_t i;
for(i = 0; i < OS_TASKTOTAL + 1; i++){
s_sign_timeout[i] = 0;
}
#endif
#if OS_TIMINTTOTAL || OS_TIMQRYTOTAL
s_init_timing();
#endif
init_hook();
mSys_INIT;
#if SYSCFG_DEBUGGING == __ENABLED__
sStartTask_TimQry(OS_TMID_TASKMGR);
#endif
uStartTask(Starter, OS_STATUS_READY);
uStartTask(Sysidle, OS_STATUS_READY);
while(true);
}