commit | 46643dcb05ed4604c34cb1d2b6955d2d1a36a473 | [log] [tgz] |
---|---|---|
author | Pieter De Gendt <pieter.degendt@basalte.be> | Wed Jun 09 10:03:19 2021 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Jun 16 10:39:44 2021 +0200 |
tree | 92f5ed18c49673df1d0412cf8b7c890aa9ecd9e8 | |
parent | ec174d41b63fd2978a7691c90067bf4caf15d565 [diff] |
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>