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

Add return statement for begin and LoRaConfig #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mengguang
Copy link

No return statement in a value-returning function is a undefined behavior.
It's not only cause warning messages, but also cause serious bug in STM32 Arduino environment.
https://stackoverflow.com/questions/1610030/why-does-flowing-off-the-end-of-a-non-void-function-without-returning-a-value-no

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