diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2018-11-30 16:23:40 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-08 06:03:50 -0800 |
commit | ab7fad125320bb719c7bfae952ffa9b8589113ee (patch) | |
tree | 97bd429eaf262bb8ff72ef36174ced1692a9cccf /board/reef | |
parent | 0e23368429f931b8ead7abc1ac63aa0f96f51565 (diff) | |
download | chrome-ec-ab7fad125320bb719c7bfae952ffa9b8589113ee.tar.gz |
config: Add magnetometer definitions
Add all possible supported or soon-to-be supported configuration of
magnetometer behind accelerometers.
Use a more generic variable to indicate the i2c address of the secondary
device.
BUG=b:110143516,b:115587004
BRANCH=none
TEST=compile
Change-Id: Ic00c413f2ec5fa0e6bf1c98861daa02f00769a65
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1361989
Commit-Ready: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Tested-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/reef')
-rw-r--r-- | board/reef/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/reef/board.h b/board/reef/board.h index 3c4577ef2b..83facd8c04 100644 --- a/board/reef/board.h +++ b/board/reef/board.h @@ -195,7 +195,7 @@ #define CONFIG_ACCEL_INTERRUPTS #define CONFIG_ACCELGYRO_BMI160_INT_EVENT TASK_EVENT_CUSTOM(4) #define CONFIG_MAG_BMI160_BMM150 -#define BMI160_SEC_ADDR BMM150_ADDR0 /* 8-bit address */ +#define CONFIG_ACCELGYRO_SEC_ADDR BMM150_ADDR0 /* 8-bit address */ #define CONFIG_MAG_CALIBRATE #define CONFIG_ACCEL_KX022 #define CONFIG_ALS_OPT3001 |