你好,我在peripheral 设置了一个事件,但是没有反应?
if ( events & SBP_TIMER_EVT )
{
counter ++;
NPI_WriteTransport("counter\n",8);
osal_start_timerEx( simpleBLEPeripheral_TaskID, SBP_TIMER_EVT, SBP_TIMER_EVT_PERIOD );
return (events ^ SBP_TIMER_EVT);
}
之后在函数那里调用了osal_start_timerEx( simpleBLEPeripheral_TaskID, SBP_TIMER_EVT, SBP_TIMER_EVT_PERIOD );
#define SBP_TIMER_EVT_PERIOD 20
我想问最短的定时时间是多少?
为什么会没有打印出来