git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
609acef
)
iio: accel: BMC150: fix scale value for 16G
author
Laurentiu Palcu
<laurentiu.palcu@intel.com>
Fri, 29 Aug 2014 08:38:00 +0000
(09:38 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 30 Aug 2014 10:35:11 +0000
(11:35 +0100)
According to documentation ([1] - page 27), the range for 16G is
7.81mg/LSB. Converted to SI, this is:
7.81 * 10^-3 * 9.80665 m/s^2 / LSB = 0.
0765899365
m/s^2 / LSB
[1] http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/bmc150-accel.c
patch
|
blob
|
history
diff --cc
drivers/iio/accel/bmc150-accel.c
Simple merge