INA237 Sensor Driver Power Calculation Wrong #60722
Labels
area: Sensors
Sensors
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
The INA237 power calculations are incorrect and show overflow issues and are 1000x too small.
Incorrect value seems to imply overflow in calculation since it doesn't follow the off-by-1000 issue seen later.
Off by a factor of 1000:
To Reproduce
I have written a new test case for this while I was debugging it and will upload this with the fix.
./scripts/twister -vv -p native_posix -T tests/drivers/sensor/ina237
The text was updated successfully, but these errors were encountered: