Searched refs:mag_y (Results 1 – 1 of 1) sorted by relevance
82 static int32_t bmm150TempCompensateY(struct MagTask *magTask, int16_t mag_y, uint16_t rhall) in bmm150TempCompensateY() argument90 if (mag_y != BMM150_MAG_FLIP_OVERFLOW_ADCVAL) { in bmm150TempCompensateY()104 …temp_4 = ((int32_t)mag_y) * ((temp_3 * ((int32_t)(((int16_t)magTask->dig_y2) + ((int16_t)0xa0)))) … in bmm150TempCompensateY()138 int32_t mag_y = (*(int16_t *)&buf[2]) >> 3; in parseMagData() local143 int32_t raw_y = bmm150TempCompensateY(magTask, mag_y, mag_rhall); in parseMagData()