SDK version :15.2
question; when i use app_timer , i got interrupt which is not i wanted.
i creat and start timer :
app_timer_create(&m_timer,APP_TIMER_MODE_REPEATED,sec_timer_hook);:
m_sec_context = 0xa5;
app_timer_start(m_timer,APP_TIMER_TICKS(20),&m_sec_context);
and hook like:
void sec_timer_hook(void *p_context)
{
if(*(uint32_t*)p_context != 0xa5)
{
led_toggle();
}
}
many times led toggled, is that means some interrupt is not i wanted ,is that a app timer bug?