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

core: Fixed unnecessary repeated invocations of notify_on_discover #2356

Merged
merged 2 commits into from
Jul 24, 2024
Merged

core: Fixed unnecessary repeated invocations of notify_on_discover #2356

merged 2 commits into from
Jul 24, 2024

Conversation

fibonacci-matrix
Copy link
Contributor

This problem introduced in v2.10.1

Now it works only if there was a change in the connection status

closes: #2354

This problem introduced in v2.10.1

Now it works only if there was a change in the connection status
@JonasVautherin JonasVautherin changed the title core: Fixed unnecessary repeateded invocations of notify_on_discover core: Fixed unnecessary repeated invocations of notify_on_discover Jul 23, 2024
JonasVautherin
JonasVautherin previously approved these changes Jul 23, 2024
Copy link

Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me!

@JonasVautherin JonasVautherin requested a review from julianoes July 23, 2024 17:00
Copy link
Collaborator

@julianoes julianoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that looks about right! Thanks for fixing this @fibonacci-matrix!

@julianoes julianoes merged commit da070c5 into mavlink:main Jul 24, 2024
32 checks passed
@julianoes
Copy link
Collaborator

julianoes commented Jul 24, 2024

I will have to create a 2.12 branch and backport it there, as main is now already on the way towards v3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Since v2.10.1 notify_on_discover() invoked every second after a system has already been discovered
3 participants