Skip to content

Conversation

@fdufnews
Copy link
Contributor

A proposed correction to issue #79


PinService.h, PinService.cpp
- replaced pullupState by pullState which stores the type of the input
- created pulltype to define the possible types of the input
- modified the setInput, setInputPullup. setInputPullDown, togglePullup method so they update pullState each time the type of the input changes
- added a togglePullDown method
- added a getPullType method which returns the current type of the input

DioController.cpp
- modified handleSniff so that the current state of the pullup/pulldown is preserved.

PinService.h, PinService.cpp
        - replaced pullupState by pullState which stores the type of the input
        - created pulltype to define the possible types of the input
- modified the setInput, setInputPullup. setInputPullDown, togglePullup method so they
update pullState each time the type of the input changes
        - added a togglePullDown method
        - added a getPullType method which returns the current type of the input

DioController.cpp
        - modified handleSniff so that the current state of the pullup/pulldown is preserved.
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.

1 participant