/* Function for initializing the ANT Bicycle Power Profile instance.  */
static ret_code_t ant_bpwr_init(ant_bpwr_profile_t *p_profile, ant_channel_config_t const *p_channel_config)
/* Function for initializing the ANT Bicycle Power Profile instance.  */
static ret_code_t ant_bpwr_init(ant_bpwr_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_BPWR_PAGE1();
    p_profile->page_16 = DEFAULT_ANT_BPWR_PAGE16();
    p_profile->page_17 = DEFAULT_ANT_BPWR_PAGE17();
    p_profile->page_18 = DEFAULT_ANT_BPWR_PAGE18();
    p_profile->page_80 = DEFAULT_ANT_COMMON_page80();
    p_profile->page_81 = DEFAULT_ANT_COMMON_page81();
    LOG_BPWR("ANT B-PWR channel %u init\n\r", p_profile->channel_number);
    return ant_channel_init(p_channel_config);
}