我移植了UCOS II+UCGUI 3.90A到STM32F103ZE上,并用如下方法建立了一个定时器,结果定时器仅响应一次,请问是什么原因啊?
GUI_TIMER_HANDLE g_TimeTimer=NULL;
g_TimeTimer=GUI_TIMER_Create((GUI_TIMER_CALLBACK *)RefreshTime,1000,0,0);
GUI_TIMER_SetPeriod(g_TimeTimer, (GUI_TIMER_TIME)200);
GUI_TIMER_Restart(g_TimeTimer); |