Skip to content
Commit 0cec0dc7 authored by Benjamin Björnsson's avatar Benjamin Björnsson Committed by Henrik Brix Andersen
Browse files

sensor: max17055: add missing return value check



This commit adds a missing return value check during register read.
Added an imidiate return to remove the seemingly unwanted side
effect of also waiting for the bus read to work.

Fixes #65374

Signed-off-by: default avatarBenjamin Björnsson <benjamin.bjornsson@gmail.com>
parent 9781d13f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment