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

hack(streams): Discard overflowing samples


As discussed in card10/firmware!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
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment