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

Revert "Add role to NodeInfo/Lite" #406

Merged
merged 2 commits into from
Nov 26, 2023
Merged

Conversation

thebentern
Copy link
Contributor

Reverts #405

As smoke pointed out, this actually needs to go onto User which is what NodeInfoModule allocates in the meshpacket payload. Meh!

@ajmcquilkin
Copy link
Member

Why does this need to go in user? This doesn't feel like something that's specific to the user of the radio

@thebentern
Copy link
Contributor Author

thebentern commented Nov 26, 2023

Why does this need to go in user? This doesn't feel like something that's specific to the user of the radio

User is what the NodeInfoModule actually allocates for the payload. It's part of the issue with the current architecture that we want to break out for 3.0. User will be completely decoupled from NodeInfo then.

https://github.com/meshtastic/firmware/blob/c7e3485dd77eff6632c7c9e053d73b9269c42422/src/modules/NodeInfoModule.cpp#L68

@thebentern thebentern merged commit 9148427 into master Nov 26, 2023
1 check passed
@thebentern thebentern deleted the revert-405-add-role-nodeinfo branch November 26, 2023 21:14
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.

3 participants