mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
sensors/bmi270: fix accel and gyro data position
accel registers are DATA_8 to DATA_13 gyro registers are DATA_14 to DATA_19
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
2c9d46f176
commit
8bf6b17cc0
@@ -52,8 +52,8 @@ struct gyro_t
|
||||
|
||||
struct accel_gyro_st_s
|
||||
{
|
||||
struct gyro_t gyro;
|
||||
struct accel_t accel;
|
||||
struct gyro_t gyro;
|
||||
uint32_t sensor_time;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user