Lines Matching defs:compassRate
3210 int64_t compassRate;
3225 compassRate = mDelays[MagneticField] < mDelays[RawMagneticField] ? mDelays[MagneticField] : mDelays[RawMagneticField];
3230 compassRate = wanted;
3239 compassRate = wanted;
3283 rateInus, 1000000000.f / compassRate);
3291 compassRate = wanted;
3307 "HAL:MPL compass sample rate: (mpl)=%d us (mpu)=%.2f Hz", rateInus, 1000000000.f / compassRate);
3375 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) {
3376 compassRate = mCompassSensor->getMinDelay() * 1000LL;
3378 mCompassSensor->setDelay(ID_M, compassRate);
6199 int64_t compassRate;
6212 compassRate = mBatchDelays[MagneticField] < mBatchDelays[RawMagneticField] ? mBatchDelays[MagneticField] : mBatchDelays[RawMagneticField];
6228 mplCompassRate = (int) compassRate / 1000LL;
6241 "HAL:MPL compass sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplCompassRate, 1000000000.f / compassRate);
6254 compassRate = wanted;
6274 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) {
6275 compassRate = mCompassSensor->getMinDelay() * 1000LL;
6277 mCompassSensor->setDelay(ID_M, compassRate);
6298 int64_t compassRate;
6323 compassRate = wanted;
6329 inv_set_compass_sample_rate((int)compassRate/1000LL);
6339 compassRate/1000LL, 1000000000.f / compassRate);
6367 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) {
6368 compassRate = mCompassSensor->getMinDelay() * 1000LL;
6370 mCompassSensor->setDelay(ID_M, compassRate);