Searched refs:mag_x (Results 1 – 1 of 1) sorted by relevance
46 static int32_t bmm150TempCompensateX(struct MagTask *magTask, int16_t mag_x, uint16_t rhall) in bmm150TempCompensateX() argument54 if (mag_x != BMM150_MAG_FLIP_OVERFLOW_ADCVAL) { in bmm150TempCompensateX()68 …temp_4 = ((int32_t)mag_x) * ((temp_3 * ((int32_t)(((int16_t)magTask->dig_x2) + ((int16_t)0xa0)))) … in bmm150TempCompensateX()137 int32_t mag_x = (*(int16_t *)&buf[0]) >> 3; in parseMagData() local142 int32_t raw_x = bmm150TempCompensateX(magTask, mag_x, mag_rhall); in parseMagData()