/* returns the high measurement range based on the chip version  */
static uint16_t tmag5273_range_high(uint8_t version)
/* returns the high measurement range based on the chip version  */
static uint16_t tmag5273_range_high(uint8_t version)
{
	return (version == TMAG5273_VER_TMAG5273X1) ? TMAG5273_MEAS_RANGE_HIGH_MT_VER1
						    : TMAG5273_MEAS_RANGE_HIGH_MT_VER2;
}