summaryrefslogtreecommitdiff
path: root/chip/host
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-07-31 10:54:27 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-08-01 02:52:28 +0000
commite2f233faafe2b7932fad0f03ef2ecd73c0b8abef (patch)
tree15c34614f5df05bf5c2b1a6a9cf83712ae5efd2b /chip/host
parent0085573ff4b035fc45c7d902c622f9e39cd997e3 (diff)
downloadchrome-ec-e2f233faafe2b7932fad0f03ef2ecd73c0b8abef.tar.gz
motion_sense: Move angle calculation under LPC_MODE
When LPC mode is used, there is an assumption that the first 2 sensors are accelerometers, and the optional 3rd is a gyro. Put the code that fill lpc_data with #ifdef. Prevent lpc space corruption if more than 3 sensors are present. BRANCH=smaug TEST=Compile. Smaug works BUG=None Change-Id: I12c9b823efb57d7b190a1813228f6f02fa0bebcb Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/290073
Diffstat (limited to 'chip/host')
0 files changed, 0 insertions, 0 deletions