Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix funcArgNamesDifferent with cppcheck #122

Merged
merged 4 commits into from
Dec 2, 2023
Merged

Fix funcArgNamesDifferent with cppcheck #122

merged 4 commits into from
Dec 2, 2023

Conversation

IhorNehrutsa
Copy link
Contributor

No description provided.

@IhorNehrutsa
Copy link
Contributor Author

That seems to be all.
Thanks.

@IhorNehrutsa
Copy link
Contributor Author

Up

@@ -257,7 +257,7 @@ void OneButton::_fsm(bool activeLevel)
_newState(OneButton::OCS_UP);
_startTime = now; // remember starting time

} else if ((activeLevel) && (waitTime > _press_ms)) {
} else if (waitTime > _press_ms) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

activeLevel is true here

@mathertel mathertel merged commit 1832bfb into mathertel:master Dec 2, 2023
4 checks passed
@mathertel
Copy link
Owner

Thanks

@mathertel mathertel added the 2.5.0 Version 2.5.0 label Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.5.0 Version 2.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants