Exemplo n.º 1
0
uint32_t app_timer_stop_all(void)
{
    // Check state
    if (mp_users == NULL)
    {
        return NRF_ERROR_INVALID_STATE;
    }
    return timer_stop_all_op_schedule(user_id_get());
}
uint32_t app_timer_stop_all(void)
{
    // Check state
    if (mp_nodes == NULL)
    {
#ifdef  DEBUG_LOG
        printf("app_timer_stop_all\r\n");  
#endif			
				return NRF_ERROR_INVALID_STATE;
    }

    return timer_stop_all_op_schedule(user_id_get());
}