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

Call getMacAddr within pickNewNodeNum() #2576

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

GUVWAF
Copy link
Member

@GUVWAF GUVWAF commented Jun 26, 2023

pickNewNodeNum() could be called from within NodeDB::init() before ourMacAddr is set, causing ourMacAddr to be 0, which in turn sets my_node_num to 0 and after the check to 4.

Hopefully fixes #2572 and #2575.

It could be called from within NodeDB::init() before it is set
@github-actions
Copy link
Contributor

🤖 Pull request artifacts

file commit
pr2576-firmware-2.1.17.eb03904.zip eb03904

thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 26, 2023
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.

[Bug]: NodeDB::pickNewNodeNum() Returns bad values
2 participants