OSDN Git Service

STPK-966: Fix orientation of accelerometer z-axis
authorIvan Gomez Castellanos <ivan.gomez.castellanos@intel.com>
Tue, 22 Apr 2014 16:46:29 +0000 (11:46 -0500)
committersuyyala <sridhar.uyyala@intel.com>
Sat, 10 May 2014 15:31:15 +0000 (08:31 -0700)
commit2b7186600997c6470e7f8d1c50a4647b24782321
treec8d7b248376bef746a942b0769fc029d814a36c9
parentf49a66d9b9c6e2c43160a4626afa4b86daa7df6c
STPK-966: Fix orientation of accelerometer z-axis

This patch fixes the orientation of the accelerometer z coordinate.
It was inverted and it was causing two CTS Verifier tests to fail.

When the tablet was placed on a flat surface with the screen facing the
ceiling, the z-data of the accelerometer was negative and it should be
positive. This patch fixes this issue.

ISSUE: STPK-966
Change-Id: I4997e606aab10f65aa36a97b3fc2472b02e90be1
Signed-off-by: Ivan Gomez Castellanos <ivan.gomez.castellanos@intel.com>
transform.c