Skip to content

Commit

Permalink
Merge pull request #140 from caveman99/master
Browse files Browse the repository at this point in the history
Thanks for the contribution.
  • Loading branch information
mathertel authored May 20, 2024
2 parents 27da5fd + 30bf141 commit 54c81d0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/OneButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ OneButton::OneButton()
* @param activeLow Set to true when the input level is LOW when the button is pressed, Default is true.
* @param pullupActive Activate the internal pullup when available. Default is true.
*/
OneButton::OneButton(const int pin, const boolean activeLow, const bool pullupActive)
OneButton::OneButton(const int pin, const bool activeLow, const bool pullupActive)
{
_pin = pin;

Expand Down
2 changes: 1 addition & 1 deletion src/OneButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class OneButton
* @param activeLow Set to true when the input level is LOW when the button is pressed, Default is true.
* @param pullupActive Activate the internal pullup when available. Default is true.
*/
explicit OneButton(const int pin, const boolean activeLow = true, const bool pullupActive = true);
explicit OneButton(const int pin, const bool activeLow = true, const bool pullupActive = true);

// ----- Set runtime parameters -----

Expand Down
2 changes: 1 addition & 1 deletion src/OneButtonTiny.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @param activeLow Set to true when the input level is LOW when the button is pressed, Default is true.
* @param pullupActive Activate the internal pullup when available. Default is true.
*/
OneButtonTiny::OneButtonTiny(const int pin, const boolean activeLow, const bool pullupActive) {
OneButtonTiny::OneButtonTiny(const int pin, const bool activeLow, const bool pullupActive) {
_pin = pin;

if (activeLow) {
Expand Down
2 changes: 1 addition & 1 deletion src/OneButtonTiny.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class OneButtonTiny {
* @param activeLow Set to true when the input level is LOW when the button is pressed, Default is true.
* @param pullupActive Activate the internal pullup when available. Default is true.
*/
explicit OneButtonTiny(const int pin, const boolean activeLow = true, const bool pullupActive = true);
explicit OneButtonTiny(const int pin, const bool activeLow = true, const bool pullupActive = true);

/**
* set # millisec after safe click is assumed.
Expand Down

0 comments on commit 54c81d0

Please sign in to comment.