Skip to content

Add return statement for begin and LoRaConfig#7

Open
mengguang wants to merge 1 commit intotinytronix:masterfrom
mengguang:patch-1
Open

Add return statement for begin and LoRaConfig#7
mengguang wants to merge 1 commit intotinytronix:masterfrom
mengguang:patch-1

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