1. 13 Oct, 2020 1 commit
  2. 21 May, 2020 1 commit
  3. 22 Dec, 2019 2 commits
    • Rahix's avatar
      chore(max30001): Port to new mutex and hw-lock APIs · 6da4644e
      Rahix authored
      Using a FreeRTOS mutex directly is deprecated.  Replace it with a
      `struct mutex`.  Similarly, the deprecated `hwlock_acquire_timeout()`
      is replaced with `hwlock_acquire()`.
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      6da4644e
    • Rahix's avatar
      chore(hw-locks): Rename to hwlock_acquire_timeout · 610a3048
      Rahix authored
      Rename hwlock_acquire() to hwlock_acquire_timeout() in preparation for
      future changes to the hw-lock API.  Change all uses of the hw-lock API
      to reflect this change.
      
      This commit does not introduce any functional changes, except getting
      rid of the timeout usage warnings.  This change is no-op, because the
      hwlock_acquire() implementation already replaces any non-zero timeout
      value with portMAX_DELAY.
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      610a3048
  4. 06 Dec, 2019 1 commit
  5. 22 Sep, 2019 1 commit
    • Rahix's avatar
      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_hSigned-off-by: Rahix's avatarRahix <rahix@rahix.de>
      d974cd2f
  6. 24 Aug, 2019 1 commit
  7. 23 Aug, 2019 3 commits