We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Low-level macros are vulnerable to operator priorities which can cause problems. Took me some time to find why my code didn't work
Arduino/tools/sdk/include/eagle_soc.h rows:
# define GPIO_REG_READ(reg) READ_PERI_REG(PERIPHS_GPIO_BASEADDR + reg) # define GPIO_REG_WRITE(reg, val) WRITE_PERI_REG(PERIPHS_GPIO_BASEADDR + reg, val)
should bechanged to:
# define GPIO_REG_READ(reg) READ_PERI_REG(PERIPHS_GPIO_BASEADDR + (reg)) # define GPIO_REG_WRITE(reg, val) WRITE_PERI_REG(PERIPHS_GPIO_BASEADDR + (reg), val)
The text was updated successfully, but these errors were encountered:
@bitluni I still see this in the latest code. Care to make a PR?
Sorry, something went wrong.
macro attributes should be used with brackets
a3fb84f
related to the issue esp8266#2617.
3ce888e
related to the issue #2617.
7028685
related to the issue esp8266#2617. (cherry picked from commit 3ce888e)
Correcting milestone to 2.4.2
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Low-level macros are vulnerable to operator priorities which can cause problems. Took me some time to find why my code didn't work
Arduino/tools/sdk/include/eagle_soc.h rows:
should bechanged to:
The text was updated successfully, but these errors were encountered: