Skip to content
Commit b92e749c authored by Ryan McClelland's avatar Ryan McClelland Committed by Maureen Helm
Browse files

drivers: sensor: ina3221: fix double-promotion



channel_get was doing using floating point constants with it's calculation.
The result is changed to be a float as this was generating a double
promotion warning.

Signed-off-by: default avatarRyan McClelland <ryanmcclelland@meta.com>
parent 83fcbfd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment