Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • card10
  • firmware
  • Merge requests
  • !316

Refactor BHI160 App

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rahix requested to merge rahix/bhi-refactor into master Sep 16, 2019
  • Overview 21
  • Commits 1
  • Pipelines 7
  • Changes 1

This MR 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.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: rahix/bhi-refactor