Skip to content
Commit 1185829f authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Benjamin Cabé
Browse files

drivers: sensor: bmi270: fix off-by-one error



When the loop completes without breaking, tries would be
BMI270_CONFIG_FILE_RETRIES + 1 so the error check was never hit.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent f1e72c4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment