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

LoRaWAN: Fix broken node when memory is dynamically allocated #899

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

xNombre
Copy link
Contributor

@xNombre xNombre commented Dec 8, 2023

Hi!

I observed that two variables are not initialized correctly during LoRaWAN object creation.
Basic example does work because object is precreated during firmware startup so memory is zeroed.
When I create LoRaWAN object during program runtime node either fails to init or fails during OTAA. My changes fixed this behavior.

@jgromes jgromes merged commit b30b7c6 into jgromes:master Dec 8, 2023
29 checks passed
@jgromes
Copy link
Owner

jgromes commented Dec 8, 2023

Merged, thank you for the contribution!

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.

2 participants