Skip to content
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

Reducing compiler warnings and splitting the flows #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

arcticlinux
Copy link

Is there any interest in this sort of pull request?

I'm working in VSCode + Platformio and getting a few compiler warnings, so I decided to do a slight cleanup of the pieces of code giving warnings.

There might need to be some formatting changes/aligned (tabs, spaces, etc) if you wanted to merge something like this.

Warnings attached.
DabbleESP32-compiler_warnings.txt

- Split the flows to silence compiler warnings and simplify methods
- Don't redefine PI if it is already defined
- further compiler warning reductions by splitting flows
- make sure functions return a default value to satisfy their definition
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.

1 participant