diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-09-12 16:20:31 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-20 12:33:23 -0700 |
commit | 56670f5d8dfe784f9db8ad102fa2b282c50a0a12 (patch) | |
tree | 1ad7f378198a85c3b9b10b6c404b59a2734148a6 /common/timer.c | |
parent | b98e33c95000976d689a9e5537402eafadad6507 (diff) | |
download | chrome-ec-56670f5d8dfe784f9db8ad102fa2b282c50a0a12.tar.gz |
driver: bmm150: fix repetiton registers
Rereading the spec, the repetition registers are massaged by the chip
to produce the repetition value: for XY: 1 + 2 * REPxy, Z axis: 1 + REPz
BRANCH=smaug
BUG=chrome-os-partner:39900
TEST=check the registers matches the spec.
Change-Id: Ic8618d70c18b4f408e3c95acdbe7fcdf6d95e39e
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/299582
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/timer.c')
0 files changed, 0 insertions, 0 deletions