The struct sensor_value type does NOT require val2 to be positive. The removed code is in fact a rather serious bug, probably put in place because it makes printing sensor_values easier. Signed-off-by: Benjamin Lindqvist <benjamin@eub.se> |
||
|---|---|---|
| .. | ||
| bmi270_config_file.h | ||
| bmi270_i2c.c | ||
| bmi270_spi.c | ||
| bmi270.c | ||
| bmi270.h | ||
| CMakeLists.txt | ||
| Kconfig | ||