Searched refs:maxRate (Results 1 – 1 of 1) sorted by relevance
2387 uint32_t maxRate, maxPushDataRate[FIFO_NUM] = { 0 }; in lsm6dsm_updateOdrs() local2392 maxRate = 0; in lsm6dsm_updateOdrs()2396 if (T(sensors[ACCEL]).rate[i] > maxRate) in lsm6dsm_updateOdrs()2397 …maxRate = T(sensors[ACCEL]).rate[i] < SENSOR_HZ(26.0f / 2.0f) ? SENSOR_HZ(26.0f / 2.0f) : T(sensor… in lsm6dsm_updateOdrs()2402 if (T(sensors[ACCEL]).hwRate != maxRate) { in lsm6dsm_updateOdrs()2403 T(sensors[ACCEL]).hwRate = maxRate; in lsm6dsm_updateOdrs()2407 maxRate = 0; in lsm6dsm_updateOdrs()2411 if (T(sensors[GYRO]).rate[i] > maxRate) in lsm6dsm_updateOdrs()2412 …maxRate = T(sensors[GYRO]).rate[i] < SENSOR_HZ(26.0f / 2.0f) ? SENSOR_HZ(26.0f / 2.0f) : T(sensors… in lsm6dsm_updateOdrs()2417 if (T(sensors[GYRO]).hwRate != maxRate) { in lsm6dsm_updateOdrs()[all …]