Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix bitWrite with parenthesis #154

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

Merged
aentinger merged 1 commit into arduino:master from positron96:patch-2
Aug 30, 2021
Merged

Fix bitWrite with parenthesis #154

aentinger merged 1 commit into arduino:master from positron96:patch-2
Aug 30, 2021

Conversation

Copy link
Contributor

@positron96 positron96 commented Aug 25, 2021

Current version does not wrap arguments in "()", so works incorrectly when used like this:

bitWrite(var, bit, cond?1:0);

Fixes #153

Current version does not wrap arguments in "()", so works incorrectly when used like this:
```
bitWrite(var, bit, cond?1:0);
```
Copy link

CLAassistant commented Aug 25, 2021
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Thank you for the PR 👍 However, we still need you to sign the CLA in order to merge this one. Please make sure to be signed in with the email you've used for the commit.

Copy link
Contributor Author

Done it. You know, for a oneline fix this is a lot of stuff to do.

Copy link
Contributor

Sorry, I didn't introduce the CLA stuff ...

@aentinger aentinger merged commit 6a524ad into arduino:master Aug 30, 2021
@positron96 positron96 deleted the patch-2 branch August 30, 2021 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

bitWrite macro does not enclose argument in ()

AltStyle によって変換されたページ (->オリジナル) /