Skip to content
Snippets Groups Projects
Forked from card10 / firmware
Source project has a limited visibility.
  • rahix's avatar
    d974cd2f
    hack(streams): Discard overflowing samples · d974cd2f
    rahix authored
    
    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>
    d974cd2f
    History
    hack(streams): Discard overflowing samples
    rahix authored
    
    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>