We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bitWrite
ArduinoCore-API/api/Common.h
Line 68 in 173e8ea
Current version does not wrap arguments in "()", so it works incorrectly when used like this:
bitWrite(var, bit, cond?1:0);
Some cores probably copied this header, as seen in stm32 and esp32
The text was updated successfully, but these errors were encountered:
Hi @positron96 , thanks for spotting this! would you mind submitting a PR with the fix so we can give the proper attribution?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
ArduinoCore-API/api/Common.h
Line 68 in 173e8ea
Current version does not wrap arguments in "()", so it works incorrectly when used like this:
Some cores probably copied this header, as seen in stm32 and esp32
The text was updated successfully, but these errors were encountered: