-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mavlink: always check stream subscriptions (#13018)
This fixes the regression where we saw this in SITL: ERROR [mavlink] system boot did not complete in 20 seconds The reason was that the stream subscription requests were not checked because the while loop was not running yet because mavlink was not booted completely. By moving the stream subscription requests into a function we can run them even if we don't run the rest of the loop.
- Loading branch information
Showing
2 changed files
with
76 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters