mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rk30sdk:gsensor rotate 270 degree
This commit is contained in:
2
arch/arm/mach-rk30/board-rk30-sdk.c
Normal file → Executable file
2
arch/arm/mach-rk30/board-rk30-sdk.c
Normal file → Executable 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)
|
||||
|
||||
Reference in New Issue
Block a user