summaryrefslogtreecommitdiffstats
path: root/include/hardware/sensors.h
diff options
context:
space:
mode:
authorEtienne Le Grand <etn@google.com>2013-04-23 14:22:23 -0700
committerEtienne Le Grand <etn@google.com>2013-04-23 14:32:22 -0700
commit7a813e844252612cd8f7fa4e391825477d8b63d0 (patch)
tree6475b37d3056120aa503b0b66dfa34c9d6b80bdd /include/hardware/sensors.h
parent29156e437858087c393c21e0502a1652fb77dd13 (diff)
downloadhardware_libhardware-7a813e844252612cd8f7fa4e391825477d8b63d0.zip
hardware_libhardware-7a813e844252612cd8f7fa4e391825477d8b63d0.tar.gz
hardware_libhardware-7a813e844252612cd8f7fa4e391825477d8b63d0.tar.bz2
Modify sign of bias in uncalibrated magnetometer
bug 8632692 Change-Id: If92f0030e53d41a7d0bc3c3b003f5eb939123945
Diffstat (limited to 'include/hardware/sensors.h')
-rw-r--r--include/hardware/sensors.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h
index 2a0063b..7778e8f 100644
--- a/include/hardware/sensors.h
+++ b/include/hardware/sensors.h
@@ -442,10 +442,10 @@ enum {
* These values should be continuous (no re-calibration should cause a jump).
* - 3 fields for hard iron bias estimates: x_bias, y_bias, z_bias.
* Each field is a component of the estimated hard iron calibration.
- * They represent the offsets to apply to the uncalibrated readings to obtain
- * calibrated readings (x_calibrated = x_uncalib + x_bias)
+ * They represent the offsets to apply to the calibrated readings to obtain
+ * uncalibrated readings (x_uncalib ~= x_calibrated + x_bias)
* These values are expected to jump as soon as the estimate of the hard iron
- * changes.
+ * changes, and they should be stable the rest of the time.
*
* If this sensor is present, then the corresponding
* SENSOR_TYPE_MAGNETIC_FIELD must be present and both must return the