Skip to content
Commit 7b6430cc authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Maureen Helm
Browse files

sensor: bq274xx: limit config update mode check loops



Add a retry count limit to config update mode loops, this way the system
can still boot if there's an issue with the device. The normal sleep
should be enough for correct operation, adding a conservative limit.

Rework the delays to be unambiguous while at it.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 71bd63d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment