/* Function for initializing the ANT HRM profile instance.  */
static ret_code_t ant_hrm_init(ant_hrm_profile_t *p_profile, ant_channel_config_t const *p_channel_config)
/* Function for initializing the ANT HRM profile instance.  */
static ret_code_t ant_hrm_init(ant_hrm_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_HRM_PAGE0();
    p_profile->page_1 = DEFAULT_ANT_HRM_PAGE1();
    p_profile->page_2 = DEFAULT_ANT_HRM_PAGE2();
    p_profile->page_3 = DEFAULT_ANT_HRM_PAGE3();
    p_profile->page_4 = DEFAULT_ANT_HRM_PAGE4();
    LOG_HRM("ANT HRM channel %u init\n\r", p_profile->channel_number);
    return ant_channel_init(p_channel_config);
}