8000 Common code style by toxuin · Pull Request #691 · nkolban/esp32-snippets · GitHub
[go: up one dir, main page]

Skip to content

Common code style #691

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
merged 6 commits into from
Oct 15, 2018
Merged

Common code style #691

merged 6 commits into from
Oct 15, 2018

Conversation

toxuin
Copy link
Contributor
@toxuin toxuin commented Oct 14, 2018

Hello.

This PR does not add any functionality, just cleans up the code.

This makes code more readable and understandable, also since it's done at once, it should be quite consistent across the codebase now.

This cleans out typos, adds spaces to loops, replaces spaces with tabs at the beginning of the line, distinguishes pointers (int* myVar) and pointing to a variable (*myVar), etc.

I know things like this are a matter of preference, so I am open to critic and ready to change things around.

This is a bigger PR, so it would be great if more than one person would review it.

toxuin and others added 5 commits October 14, 2018 18:08
Force gcc to ignore unused-but-set-parameter

Fix line misplacement by merge

Cast string data to uint8_t pointer

Fix line mangling on merge

Fix line mangling on merge

Fix line mangling on merge
@nkolban nkolban merged commit a338ca1 into nkolban:master Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0