Open ragrus-nbl opened 2 weeks ago
Hi @ragrus-nbl! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
Describe the bug ST LIS2DUX12 accelerometer driver doesn't convert the raw value of temperature to Celsius. When I read the SENSOR_CHAN_DIE_TEMP channel, I get values like these (of type
struct sensor_value
):.val1 = 1360, .val2 = 0
.According to the docs, they must be in Celsius.
To Reproduce Steps to reproduce the behavior:
CONFIG_LIS2DUX12_ENABLE_TEMP=y
to prj.confLogs and console output
Environment