Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • F firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • François Revol
  • firmware
  • Repository
  • firmware
  • epicardium
  • modules
  • max30001.c
Find file BlameHistoryPermalink
  • Rahix's avatar
    hack(streams): Discard overflowing samples · d974cd2f
    Rahix authored Sep 22, 2019
    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: Rahix's avatarRahix <rahix@rahix.de>
    d974cd2f