/* Function for checking if the end of the tag data area was reached.  */
static bool type_2_tag_is_end_reached(type_2_tag_t *p_type_2_tag, uint16_t offset)
/* Function for checking if the end of the tag data area was reached.  */
static bool type_2_tag_is_end_reached(type_2_tag_t *p_type_2_tag, uint16_t offset)
{
    return offset == (p_type_2_tag->cc.data_area_size + T2T_FIRST_DATA_BLOCK_OFFSET);
}