src/luos.c
static service_t *Luos_GetService(ll_service_t *ll_service)
{
    for (uint16_t i = 0; i < service_number; i++)
    {
        if (ll_service == service_table[i].ll_service)
        {
            return &service_table[i];
        }
    }
    return 0;
}
/******************************************************************************
 * @brief get pointer to a service in route table
 * @param ll_service
 * @return service from list
 ******************************************************************************/
@brief get pointer to a service in route table
@param ll_service
@return service from list
@brief get pointer to a service in route table @param ll_service @return service from list
static service_t *Luos_GetService(ll_service_t *ll_service)
{
    for (uint16_t i = 0; i < service_number; i++)
    {
        if (ll_service == service_table[i].ll_service)
        {
            return &service_table[i];
        }
    }
    return 0;
}
static service_t * Luos_GetService ( ll_service_t * ll_service ) { for ( uint16_t i = 0 ; i < service_number ; i ++ ) { if ( ll_service == service_table [ i ] . ll_service ) { return & service_table [ i ] ; } } return 0 ; }
@brief get pointer to a service in route table
 @param ll_service
 @return service from list
@brief get pointer to a service in route table @param ll_service @return service from list