Skip to content
Snippets Groups Projects
  1. Sep 22, 2019
    • rahix's avatar
      Merge 'Refactor BHI160 App' · 50839184
      rahix authored
      See merge request card10/firmware!316
      50839184
    • rahix's avatar
      refactor(preload/bhi): Make app more pythonic · 003aa2a0
      rahix authored
      
      This patch makes the BHI160 app more pythonic and fixes a few
      bugs/issues:
      
      - An exception (including KeyboardInterrupt) will trigger the sensor to
        be closed again.  Otherwise you'd get strange behavior trying to
        reopen then afterwards.
      - Use simple_menu.button_events() instead of home-cooked solution.  This
        should hopefully make the code more future-proof.
      - Fix overlapping text caused by the font-rendering changes.
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      003aa2a0
    • 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_h
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      d974cd2f
  2. Sep 21, 2019
  3. Sep 19, 2019
  4. Sep 16, 2019
  5. Sep 15, 2019
  6. Sep 14, 2019
  7. Sep 12, 2019
  8. Sep 11, 2019
Loading