Skip to content

Commit

Permalink
Fix funcArgNamesDifferent
Browse files Browse the repository at this point in the history
  • Loading branch information
IhorNehrutsa committed Jul 18, 2023
1 parent 0c8f20d commit 2de5bae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/OneButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ void OneButton::tick(void)
} // tick()


void OneButton::tick(bool level)
void OneButton::tick(bool activeLevel)
{
_fsm(debounce(level));
_fsm(debounce(activeLevel));
}


Expand Down
2 changes: 1 addition & 1 deletion src/OneButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class OneButton
* level is given by the parameter.
* Run the finite state machine (FSM) using the given level.
*/
void tick(bool level);
void tick(bool activeLevel);


/**
Expand Down

0 comments on commit 2de5bae

Please sign in to comment.