forked from nuttx/nuttx-update
sensors/bmi160_uorb.c: Fix the typo error
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
1b77fd1df6
commit
72fbbbdbf3
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ static int bmi160_register_accel(int devno,
|
|||
priv->dev.freq = BMI160_I2C_FREQ;
|
||||
|
||||
#else /* CONFIG_SENSORS_BMI160_SPI */
|
||||
priv->devl.spi = dev;
|
||||
priv->dev.spi = dev;
|
||||
|
||||
/* BMI160 detects communication bus is SPI by rising edge of CS. */
|
||||
|
||||
|
|
Loading…
Reference in a new issue