Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • 5-implement-client-c-in-plain-rust
  • 4-fix-card10-l0dable-on-crates-io
  • build-from-root
4 results

bhi160.rs

Blame
  • Forked from Astro / rust-card10
    Source project has a limited visibility.
    • rnd's avatar
      77f2e073
      [API] Introduce error handling for bhi160. · 77f2e073
      rnd authored
      Introduces an error type for bhi160 related methods and update
      potential failing methods to return results. This should ensure that
      it is not possible to encounter a panic during sensor interaction.
      
      This will also:
      
       - add minor cleanups in `bhi160.rs`,
       - update the example to use the `?` operator instead of `unwrap()`.
      77f2e073
      History
      [API] Introduce error handling for bhi160.
      rnd authored
      Introduces an error type for bhi160 related methods and update
      potential failing methods to return results. This should ensure that
      it is not possible to encounter a panic during sensor interaction.
      
      This will also:
      
       - add minor cleanups in `bhi160.rs`,
       - update the example to use the `?` operator instead of `unwrap()`.