Commit 70e1f97c authored by Diogo Correia's avatar Diogo Correia Committed by Martí Bolívar
Browse files

drivers: sensor: bmi160: fix waiting time before reading CHIP_ID



Value changed from 100us to 150us. Value was not enough upon softreset.
This value was arbitrarily chosen and should be changed if more
information on the subject is provided.

Fixes #43794

Signed-off-by: default avatarDiogo Correia <dcorreia@protonmail.com>
parent 2824696d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -898,7 +898,7 @@ int bmi160_init(const struct device *dev)
		return -EIO;
	}

	k_busy_wait(100);
	k_busy_wait(150);

	if (bmi160_byte_read(dev, BMI160_REG_CHIPID, &val) < 0) {
		LOG_DBG("Failed to read chip id.");