mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-01 04:43:50 +00:00
poppy: Fix sensors location
Sensors are in the lid, behind the screen. Similar changes were done for scarlet in c/433222. BUG=b:35978189 BRANCH=none TEST=Compile. Change-Id: I39d7da15ce0b441ec0cac9ad77b0c000225aacc5 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/452793 Tested-by: Rajat Jain <rajatja@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
061a0fe237
commit
d265f6ff93
@@ -625,7 +625,7 @@ struct motion_sensor_t motion_sensors[] = {
|
||||
.active_mask = SENSOR_ACTIVE_S0,
|
||||
.chip = MOTIONSENSE_CHIP_BMI160,
|
||||
.type = MOTIONSENSE_TYPE_ACCEL,
|
||||
.location = MOTIONSENSE_LOC_BASE,
|
||||
.location = MOTIONSENSE_LOC_LID,
|
||||
.drv = &bmi160_drv,
|
||||
.mutex = &g_lid_mutex,
|
||||
.drv_data = &g_bmi160_data,
|
||||
@@ -662,7 +662,7 @@ struct motion_sensor_t motion_sensors[] = {
|
||||
.active_mask = SENSOR_ACTIVE_S0,
|
||||
.chip = MOTIONSENSE_CHIP_BMI160,
|
||||
.type = MOTIONSENSE_TYPE_GYRO,
|
||||
.location = MOTIONSENSE_LOC_BASE,
|
||||
.location = MOTIONSENSE_LOC_LID,
|
||||
.drv = &bmi160_drv,
|
||||
.mutex = &g_lid_mutex,
|
||||
.drv_data = &g_bmi160_data,
|
||||
@@ -699,7 +699,7 @@ struct motion_sensor_t motion_sensors[] = {
|
||||
.active_mask = SENSOR_ACTIVE_S0,
|
||||
.chip = MOTIONSENSE_CHIP_BMI160,
|
||||
.type = MOTIONSENSE_TYPE_MAG,
|
||||
.location = MOTIONSENSE_LOC_BASE,
|
||||
.location = MOTIONSENSE_LOC_LID,
|
||||
.drv = &bmi160_drv,
|
||||
.mutex = &g_lid_mutex,
|
||||
.drv_data = &g_bmi160_data,
|
||||
@@ -736,7 +736,7 @@ struct motion_sensor_t motion_sensors[] = {
|
||||
.active_mask = SENSOR_ACTIVE_S0,
|
||||
.chip = MOTIONSENSE_CHIP_BMP280,
|
||||
.type = MOTIONSENSE_TYPE_BARO,
|
||||
.location = MOTIONSENSE_LOC_BASE,
|
||||
.location = MOTIONSENSE_LOC_LID,
|
||||
.drv = &bmp280_drv,
|
||||
.drv_data = &bmp280_drv_data,
|
||||
.port = I2C_PORT_BARO,
|
||||
|
||||
Reference in New Issue
Block a user