void TestTaskone(void *pdata)
{ INT8U y;
#if OS_CRITICAL_METHOD == 3u /* Allocate storage for CPU status register */
OS_CPU_SR cpu_sr = 0u;
#endif
printf("this is test1\n");
OS_ENTER_CRITICAL();
OSTCBCur->OSTCBStatPend = OS_STAT_PEND_OK;
y = OSTCBCur->OSTCBY; /* Delay current task */
OSRdyTbl[y] &= (OS_PRIO)~OSTCBCur->OSTCBBitX;
if (OSRdyTbl[y] == 0u) {
OSRdyGrp &= (OS_PRIO)~OSTCBCur->OSTCBBitY;
}
OSTCBCur->OSTCBDly = 500;
OS_EXIT_CRITICAL();
OS_Sched();
printf("this is test11\n");
}