bmi2_ois.c
/*!
 * @brief This internal API corrects the gyroscope cross-axis sensitivity
 * between the z and the x axis.
 */
@brief This internal API corrects the gyroscope cross-axis sensitivity
between the z and the x axis.
@brief This internal API corrects the gyroscope cross - axis sensitivity between the z and the x axis .
static void comp_gyro_cross_axis_sensitivity(struct bmi2_ois_sens_axes_data *ois_data, int16_t ois_gyr_cross_sens_zx)
{
    ois_data->x = ois_data->x - (int16_t)(((int32_t)ois_gyr_cross_sens_zx * (int32_t)ois_data->z) / 512);
}
static void comp_gyro_cross_axis_sensitivity ( struct bmi2_ois_sens_axes_data * ois_data , int16_t ois_gyr_cross_sens_zx ) { ois_data -> x = ois_data -> x - ( int16_t ) ( ( ( int32_t ) ois_gyr_cross_sens_zx * ( int32_t ) ois_data -> z ) / 512 ) ; }
@brief This internal API corrects the gyroscope cross-axis sensitivity
 between the z and the x axis.
@brief This internal API corrects the gyroscope cross - axis sensitivity between the z and the x axis .
/* Get the compensated gyroscope x-axis */