commit | 919b3f9165c34d61e9b27377a6611a377d43506b | [log] [tgz] |
---|---|---|
author | Bartosz Bilas <b.bilas@grinn-global.com> | Thu Oct 21 17:56:28 2021 +0200 |
committer | Maureen Helm <maureen.helm@intel.com> | Fri Oct 22 08:51:30 2021 -0500 |
tree | 8a092e64bd4af8d48498b268a31c627f5308bb56 | |
parent | 262b5b1930296c9d298104713d4c12e3dd36629d [diff] |
drivers: sensor: ina23x: fix sample fetching Fix the usage of sensor shell module that calls sensor_sample_fetch function with SENSOR_CHAN_ALL id which is not supported and causes the following error: uart:~$ sensor get INA237 current Failed to read sensor: -134 channel idx=31 current = 0.000000 Fix that by adding support for SENSOR_CHAN_ALL channel id. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>