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