Skip to content

Button rework#7

Merged
renzenicolai merged 8 commits intomasterfrom
button_rework
Jun 18, 2022
Merged

Button rework#7
renzenicolai merged 8 commits intomasterfrom
button_rework

Conversation

@jorisplusplus
Copy link
Collaborator

Rework of the button api to be generic.

Badge implementation need 2 function, 1 callback on pin change and 1 function to get value of a button. And a file to define all buttons.

Callback flow is hardware->hardware.buttons->buttons->user function

Fixed crash in mch2022 button callback

@lgtm-com
Copy link

lgtm-com bot commented Jun 18, 2022

This pull request introduces 2 alerts when merging 6d0b851 into 62197f5 - view on LGTM.com

new alerts:

  • 1 for Testing equality to None
  • 1 for 'import *' may pollute namespace

@renzenicolai renzenicolai merged commit c42a4c7 into master Jun 18, 2022
@jorisplusplus jorisplusplus deleted the button_rework branch June 19, 2022 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants