Searched refs:gyro_current_factor (Results 1 – 2 of 2) sorted by relevance
200 static uint32_t gyro_current_factor = 0; variable762 gyro_current_factor = bmi088_gyro_factor[range]; in drv_gyro_bosch_bmi088_set_range()831 if (gyro_current_factor != 0) { in drv_gyro_bosch_bmi088_read()833 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_X] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi088_read()834 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_Y] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi088_read()835 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_Z] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi088_read()
320 static uint32_t gyro_current_factor = 0; variable887 gyro_current_factor = bmi055_gyro_factor[range]; in drv_gyro_bosch_bmi055_set_range()956 if (gyro_current_factor != 0) { in drv_gyro_bosch_bmi055_read()958 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_X] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi055_read()959 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_Y] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi055_read()960 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_Z] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi055_read()
Completed in 7 milliseconds