rk30sdk:gsensor rotate 270 degree

This commit is contained in:
lw
2012-03-29 10:30:46 +08:00
parent 3a1dcb5094
commit 7fe851fb46

2
arch/arm/mach-rk30/board-rk30-sdk.c Normal file → Executable file
View File

@@ -471,7 +471,7 @@ static struct mma8452_platform_data mma8452_info = {
.swap_xy = 0,
.swap_xyz = 1,
.init_platform_hw = mma8452_init_platform_hw,
.orientation = {0, -1, 0, 0, 0, 1, 1, 0, 0},
.orientation = {-1, 0, 0, 0, 0, -1, 0, -1, 0},
};
#endif
#if defined (CONFIG_COMPASS_AK8975)