Skip to content
Snippets Groups Projects
Commit d974cd2f authored by rahix's avatar rahix
Browse files

hack(streams): Discard overflowing samples


As discussed in !316, this commit prevents I2C lockup by
discarding overflowing samples instead of blocking until they have been
read.  This is not ideal as the samples read will not be the most recent
ones.  A deeper refactor of the sensor-stream internal API can fix this
in the future.

Cc: @flo_h
Signed-off-by: default avatarRahix <rahix@rahix.de>
parent c3ca9d22
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment