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

Syslink will now only enable send after a packet has been received. #70

Merged
merged 1 commit into from
May 10, 2022

Conversation

tobbeanton
Copy link
Member

The nrf is sending battery information continuously after a delay after startup. This mechanism was broken causing it to never send the battery information. The logic has now been rewritten so that the syslink packets going out will fist be allowed to do so after a packet has been received which happes as soon as the STM sets that radio address.

Some minor refactoring as well splitting the big mainLoop function into sub-functions.

Fixes #1043

Some minor refactoring as well splitting the big mainLoop function into
sub-functions.

Fixes #1043
@krichardsson
Copy link
Contributor

Looking good!

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