Skip to content
Commit b67185b9 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

sensor: bme680: fix fetch API conformance



`sensor_sample_fetch` is documented to read all of a sensor's active
channels and block until complete. The previous implementation read
the result from the previous call and triggered the next sample.

As a result the first call always failed, and subsequent calls would
return data one sampling period old.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent 98d0fe44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment