cb2a612c39
commit bbaae0c79ebd49f61ad942a8bf9e12bfc7f821bb upstream.
Timestamp reset is not done in the correct place. It must be done
before enabling buffer. The reason is that interrupt timestamping
is always happening when the chip is on, even if the
corresponding sensor is off. When the sensor restarts, timestamp
is wrong if you don't do a reset first.
Fixes:
|
||
---|---|---|
.. | ||
inv_icm42600_accel.c | ||
inv_icm42600_buffer.c | ||
inv_icm42600_buffer.h | ||
inv_icm42600_core.c | ||
inv_icm42600_gyro.c | ||
inv_icm42600_i2c.c | ||
inv_icm42600_spi.c | ||
inv_icm42600_temp.c | ||
inv_icm42600_temp.h | ||
inv_icm42600_timestamp.c | ||
inv_icm42600_timestamp.h | ||
inv_icm42600.h | ||
Kconfig | ||
Makefile |