drivers: sensor: ti: tmp11x: fix get ambient offset
The sensor value was accidentally set a second time.
Refactor `tmp11x_attr_get` to fix the issue and align more with
`tmp11x_attr_set`.
Signed-off-by:
Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Loading
Please sign in to comment