This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 72fbbbdbf391bc01bbee12396ee9427dd1b41f34
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Sat Nov 16 23:04:08 2024 +0800

    sensors/bmi160_uorb.c: Fix the typo error
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 drivers/sensors/bmi160_uorb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/sensors/bmi160_uorb.c b/drivers/sensors/bmi160_uorb.c
index e35beced65..fff3c713f5 100644
--- a/drivers/sensors/bmi160_uorb.c
+++ b/drivers/sensors/bmi160_uorb.c
@@ -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. */
 

Reply via email to