Skip to content
Commit a1bf02e5 authored by Pete Dietl's avatar Pete Dietl Committed by Maureen Helm
Browse files

drivers: sensors: tmp112: Remove extra I2C reads



The original code erroneously used:
uint16_t *val;
sizeof val
instead of:
sizeof *val;
This commit fixes this problem and removes an unnecessary
buffer from the stack

Signed-off-by: default avatarPete Dietl <petedietl@gmail.com>
parent cf8e974b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment