There were code paths that could have lead to divide by zero given an invalid scale setting for accel or gyro. In practice this should be an invalid setup even before getting to these conversion functions. The conversion functions now better show all valid values are accounted for by using CODE_UNREACHABLE in the default case. Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com> |
||
|---|---|---|
| .. | ||
| icm42605 | ||
| icm42670 | ||
| icm42688 | ||
| icp10125 | ||
| mpu6050 | ||
| mpu9250 | ||
| CMakeLists.txt | ||
| Kconfig | ||