Searched refs:tempBias (Results 1 – 2 of 2) sorted by relevance
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.cpp | 5365 long tempBias; in setFactoryAccelBias() local 5371 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()
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSensor.cpp | 5757 long tempBias; local 5763 tempBias = -mFactoryAccelBias[0] / 65536.f * scaleRatio / offsetScale; 5765 tempBias, mpu.in_accel_x_offset, getTimestamp()); 5766 if(write_attribute_sensor_continuous(accel_x_offset_fd, tempBias) < 0) { 5770 tempBias = -mFactoryAccelBias[1] / 65536.f * scaleRatio / offsetScale; 5772 tempBias, mpu.in_accel_y_offset, getTimestamp()); 5773 if(write_attribute_sensor_continuous(accel_y_offset_fd, tempBias) < 0) { 5777 tempBias = -mFactoryAccelBias[2] / 65536.f * scaleRatio / offsetScale; 5779 tempBias, mpu.in_accel_z_offset, getTimestamp()); 5780 if(write_attribute_sensor_continuous(accel_z_offset_fd, tempBias) < 0) {
|