Skip to content
Snippets Groups Projects
Commit 15e50b26 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Fix MAVLink subscription

parent 8dc8ae7d
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,9 @@ MavlinkOrbSubscription::is_published()
// If it does not exist its not published
if (orb_exists(_topic, _instance)) {
return false;
} else if (_fd < 0) {
_fd = orb_subscribe_multi(_topic, _instance);
}
bool updated;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment