Including app_timer_create() call causes code to hang.

Hi, 

Adding the line of code below with app_timer_create causes the code to hang.

static void my_bat_timer_handler(void * p_context)
{
   pulse_pin(LED);
}

APP_TIMER_DEF(m_app_timer_bat);

app_timer_create(&m_app_timer_bat, APP_TIMER_MODE_REPEATED, my_bat_timer_handler);

I can't use the debugger it just hangs. I am using a soft device and SDK 16.0. I am already initializing the timer. I am using nRF52832 part on custom board.

John

Parents Reply Children
No Data
Related