mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
sensors/bmi160_uorb.c: Fix the typo error
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan C. Assis
parent
1b77fd1df6
commit
72fbbbdbf3
@@ -591,7 +591,7 @@ static int bmi160_register_accel(int devno,
|
|||||||
priv->dev.freq = BMI160_I2C_FREQ;
|
priv->dev.freq = BMI160_I2C_FREQ;
|
||||||
|
|
||||||
#else /* CONFIG_SENSORS_BMI160_SPI */
|
#else /* CONFIG_SENSORS_BMI160_SPI */
|
||||||
priv->devl.spi = dev;
|
priv->dev.spi = dev;
|
||||||
|
|
||||||
/* BMI160 detects communication bus is SPI by rising edge of CS. */
|
/* BMI160 detects communication bus is SPI by rising edge of CS. */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user