sensor: bq274xx: fix sleep logic when polling after softreset
The bq274xx fuel gauge does a softreset when configuring, after
which the device is polled and sealed. However the sleep logic
was inverted so the poll became blocking.
Signed-off-by:
Pieter De Gendt <pieter.degendt@basalte.be>
Loading
Please sign in to comment