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