From b5bccbb70e88d9709b29e40a9b61c0a0d2be92f5 Mon Sep 17 00:00:00 2001 From: likun17 Date: Mon, 4 Sep 2023 19:31:44 +0800 Subject: [PATCH] sensor:bmi160.c:Fix the missing items caused by resolving merge conflicts after bmi160 cherry-pick submission. This cherry-pick missing CI check did not detect it. Signed-off-by: likun17 --- drivers/sensors/bmi160.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/sensors/bmi160.c b/drivers/sensors/bmi160.c index 258e173f97..8635f2f462 100644 --- a/drivers/sensors/bmi160.c +++ b/drivers/sensors/bmi160.c @@ -251,7 +251,8 @@ int bmi160_register(FAR const char *devpath, FAR struct i2c_master_s *dev) int bmi160_register(FAR const char *devpath, FAR struct spi_dev_s *dev) #endif { - uint8_t devid = 0; + FAR struct bmi160_dev_s *priv; + int ret; priv = (FAR struct bmi160_dev_s *)kmm_malloc(sizeof(struct bmi160_dev_s)); if (!priv)