When using 20-bit FIFO packets, invalid data is indicated by the value -524288. Currently, no check is done against this and invalid data is decoded. Fixed by adding a simple check. Also, the wrong bit is used to check if HIRES is enabled. Fixed by using the correct mask. Signed-off-by: Yau-ming Leung <ymleung314@gmail.com> |
||
|---|---|---|
| .. | ||
| icm42x70 | ||
| icm42605 | ||
| icm42688 | ||
| icm45686 | ||
| icp101xx | ||
| icp201xx | ||
| mpu6050 | ||
| mpu9250 | ||
| CMakeLists.txt | ||
| Kconfig | ||