Skip to content

Reducing compiler warnings and splitting the flows - #5

Open
arcticlinux wants to merge 2 commits into
STEMpedia:masterfrom
B73Labs:master
Open

Reducing compiler warnings and splitting the flows#5
arcticlinux wants to merge 2 commits into
STEMpedia:masterfrom
B73Labs:master

Conversation

@arcticlinux

Copy link
Copy Markdown

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