Searched refs:yOffsetMax (Results 1 – 1 of 1) sorted by relevance
166 static int16_t xOffsetMax = 0x8000, yOffsetMax = 0x8000, zOffsetMax = 0x8000, in MAG3110_CalibrateHardIronOffset() local172 yOffsetMax = (*yValue > yOffsetMax)?(*yValue):(yOffsetMax); in MAG3110_CalibrateHardIronOffset()179 *yValue -= (yOffsetMax+yOffsetMin)/2; in MAG3110_CalibrateHardIronOffset()