Skip to content

Saving send_callback after the use of auto_mavlink_version#1042

Merged
peterbarker merged 1 commit intoArduPilot:masterfrom
noahredon:patch-2
May 23, 2025
Merged

Saving send_callback after the use of auto_mavlink_version#1042
peterbarker merged 1 commit intoArduPilot:masterfrom
noahredon:patch-2

Conversation

@noahredon
Copy link
Contributor

In the function auto_mavlink_version, the save of the mav.callback was here, but not the one related to the mav.send_callback, so I added it.

In the function auto_mavlink_version, the save of the mav.callback was here, but not the one related to the mav.send_callback, so I added it.
@peterbarker
Copy link
Contributor

What problem does this fix?

@noahredon
Copy link
Contributor Author

I tried to set a callback and a send_callback before receiving any MAVLink message from the master, but when I received one, auto_mavlink_version was called and only my send_callback was erased. So I think it makes sense to add this

@peterbarker peterbarker merged commit 44758f4 into ArduPilot:master May 23, 2025
14 checks passed
@peterbarker
Copy link
Contributor

Merged, thanks!

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