Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@fhunleth fhunleth released this 11 Feb 20:39
· 2 commits to main since this release

Changed

  • Changed error returns to return {:error, reason} rather than just :error.
    This is a backwards incompatible change if your code matches on :error.
  • Changed retry semantics to only retry on CRC mismatch errors. Previously, CRC
    mismatches were not retried and retries were done at the I2C transaction
    level. Retrying on the I2C level wasn't effective and ended up causing long
    delays. So far, CRC errors are the ones worth retrying since they happen rare
    enough that a retry is pretty much guaranteed to work.