/* Function for initializing the ANT SDM profile instance.  */
static ret_code_t ant_sdm_init(ant_sdm_profile_t *p_profile, ant_channel_config_t const *p_channel_config)
/* Function for initializing the ANT SDM profile instance.  */
static ret_code_t ant_sdm_init(ant_sdm_profile_t *p_profile, ant_channel_config_t const *p_channel_config)
{
    p_profile->channel_number = p_channel_config->channel_number;
    p_profile->page_1  = DEFAULT_ANT_SDM_PAGE1();
    p_profile->page_2  = DEFAULT_ANT_SDM_PAGE2();
    p_profile->page_3  = DEFAULT_ANT_SDM_PAGE3();
    p_profile->page_22 = DEFAULT_ANT_SDM_PAGE22();
    p_profile->common  = DEFAULT_ANT_SDM_COMMON_DATA();
    p_profile->page_80 = DEFAULT_ANT_COMMON_page80();
    p_profile->page_81 = DEFAULT_ANT_COMMON_page81();
    LOG_SDM("ANT SDM channel %u init\n\r", p_profile->channel_number);
    return ant_channel_init(p_channel_config);
}