Searched refs:tempBias (Results 1 – 1 of 1) sorted by relevance
5365 long tempBias; in setFactoryAccelBias() local5371 tempBias = -mFactoryAccelBias[0] / 65536.f * scaleRatio / offsetScale; in setFactoryAccelBias()5373 tempBias, mpu.in_accel_x_offset, getTimestamp()); in setFactoryAccelBias()5374 if(write_attribute_sensor_continuous(accel_x_offset_fd, tempBias) < 0) { in setFactoryAccelBias()5378 tempBias = -mFactoryAccelBias[1] / 65536.f * scaleRatio / offsetScale; in setFactoryAccelBias()5380 tempBias, mpu.in_accel_y_offset, getTimestamp()); in setFactoryAccelBias()5381 if(write_attribute_sensor_continuous(accel_y_offset_fd, tempBias) < 0) { in setFactoryAccelBias()5385 tempBias = -mFactoryAccelBias[2] / 65536.f * scaleRatio / offsetScale; in setFactoryAccelBias()5387 tempBias, mpu.in_accel_z_offset, getTimestamp()); in setFactoryAccelBias()5388 if(write_attribute_sensor_continuous(accel_z_offset_fd, tempBias) < 0) { in setFactoryAccelBias()