-
Notifications
You must be signed in to change notification settings - Fork 90
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
style(Other): Update conditional compilation directives for CONFIG_SOC_*
definitions in Zephyr wrapper
#1278
style(Other): Update conditional compilation directives for CONFIG_SOC_*
definitions in Zephyr wrapper
#1278
Conversation
e3ff00f
to
a25361c
Compare
The 'if defined(FOO) || BAR' lines are not clear $ sed 's, (CONFIG_SOC, defined(CONFIG_SOC,g' -i $(git grep --name-only if.defined\(.*\|\|.\() $ sed 's,||\s*\\$,\|\| \\,g' -i $(git grep --name-only '||.*\\$') Signed-off-by: Matthew McClintock <[email protected]>
a25361c
to
0737cfe
Compare
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.
CONFIG_SOC_*
definitions in Zephyr wrapper
The pull request template contains guidelines on how to title PRs. The guidelines also appear in the description when opening a PR. |
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.
It is not a fix, just a coding style change.
Could you change PR title as "style(Other): ...."
CONFIG_SOC_*
definitions in Zephyr wrapperCONFIG_SOC_*
definitions in Zephyr wrapper
…OC_*` definitions in Zephyr wrapper (#1278) Signed-off-by: Matthew McClintock <[email protected]>
The 'if defined(FOO) || BAR' lines are not clear
$ sed 's, (CONFIG_SOC, defined(CONFIG_SOC,g' -i $(git grep --name-only if.defined(.||.() $ sed 's,||\s\$,|| \,g' -i $(git grep --name-only '||.*\$')
Description
Not much to add other than the subject of the single git commit above.
Checklist Before Requesting Review