0;externRTC_BCD_DATErtc_date; unsignedcharbeep_flag=0;OS_STKMainTaskStk[MainTaskStkLengh];OS_STK?Task0Stk[Task0StkLengh];//heTask0stackOS_STK?Task1Stk[Task1StkLengh];//heTask1stackOS_STK?Task2Stk[Task2StkLengh];//heTask2stackOS_EVENT*AD_Result_MBox; OS_EVENT*RTC_MBox; U8err;voidMainTask(void*pdata)//MainTaskcreatetaks0andtask1{?Timer0Init(); //initialtimer0forucostimetick?ISRInit(); //initialinterruptprioorenableordisable?OSStatInit();?OSTaskCreate(Task0,(void*)0,&Task0Stk[Task0StkLengh-1],Task0Prio); OSTaskCreate(Task1,(void*)0,&Task1Stk[Task1StkLengh-1],Task1Prio); OSTaskCreate(Task2,(void*)0,&Task2Stk[Task2StkLengh-1],Task2Prio); while(1)?{ OSTimeDly(2*OS_TICKS_PER_SEC);?}}intmain(intargc,char**argv){?void*temp=(void*)0;?1);?uart_init(115200);?beep_Init();?Lcd_Run_Init(); init_24c08a();