.m_layout =
{
{
- {1, 0, 0},
{0, 0, 1},
+ {1, 0, 0},
{0, 1, 0},
},
}
static struct l3g4200d_platform_data l3g4200d_info = {
- .orientation = {0, 1, 0, -1, 0, 0, 0, 0, 1},
+ .orientation = {1, 0, 0, 0, 1, 0, 0, 0, 1},
.init = l3g4200d_init_platform_hw,
.x_min = 40,//x_min,y_min,z_min = (0-100) according to hardware
.y_min = 40,
#if defined (CONFIG_INPUT_LPSENSOR_AL3006)
{
.type = "al3006",
- .addr = 0x1d, //sel = 0; if sel =1, then addr = 0x1D
+ .addr = 0x1c, //sel = 0; if sel =1, then addr = 0x1D
.flags = 0,
.irq = RK30_PIN6_PA2,
},