/* Function for initializing the ANT BSC profile instance.  */
static ret_code_t ant_bsc_init(ant_bsc_profile_t *p_profile, ant_channel_config_t const *p_channel_config)
/* Function for initializing the ANT BSC profile instance.  */
static ret_code_t ant_bsc_init(ant_bsc_profile_t *p_profile, ant_channel_config_t const *p_channel_config)
{
    p_profile->channel_number = p_channel_config->channel_number;
    p_profile->page_0       = DEFAULT_ANT_BSC_PAGE0();
    p_profile->page_1       = DEFAULT_ANT_BSC_PAGE1();
    p_profile->page_2       = DEFAULT_ANT_BSC_PAGE2();
    p_profile->page_3       = DEFAULT_ANT_BSC_PAGE3();
    p_profile->page_4       = DEFAULT_ANT_BSC_PAGE4();
    p_profile->page_5       = DEFAULT_ANT_BSC_PAGE5();
    p_profile->page_comb_0  = DEFAULT_ANT_BSC_COMBINED_PAGE0();
    LOG_BSC("ANT BSC channel %u init\n\r", p_profile->channel_number);
    return ant_channel_init(p_channel_config);
}