From 0d9cea6ca8deba832db56fa7ebdaed4ee58547c0 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: Wed, 17 Apr 2024 13:48:08 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20System/o?= =?UTF-8?q?s=5Fmain.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/os_main.c | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 System/os_main.c diff --git a/System/os_main.c b/System/os_main.c deleted file mode 100644 index 20a26c5..0000000 --- a/System/os_main.c +++ /dev/null @@ -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); -}