-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (IDFGH-11769) #12867
Conversation
Removed rogue semicolon in `#define`
👋 Hello howroyd, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@howroyd Thanks for the PR. Changes LGTM
sha=a1b1d745dc5e2ec01e7706a88b9cf76262491ad5 |
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This fixes build issues when this macro is used via C++ brace initialization. Closes #12867 [Darian Leung: Updated commit message] Signed-off-by: Darian Leung <[email protected]>
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This fixes build issues when this macro is used via C++ brace initialization. Closes #12867 [Darian Leung: Updated commit message] Signed-off-by: Darian Leung <[email protected]>
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This fixes build issues when this macro is used via C++ brace initialization. Closes #12867 [Darian Leung: Updated commit message] Signed-off-by: Darian Leung <[email protected]>
Removed rogue semicolon in the
#define
for default Smartconfig config.This semicolon is not congruent with the Wifi default config.
Mainly, it does not play nice with C++ brace initialisation, for example:
Produces a compiler error due to the semicolon placed in by the preprocessor text substitution.
However, similar useful code for Wifi works fine since there is no semicolon in the define here, for example:
Is fine.