Skip to content
Snippets Groups Projects
Commit 8f571f12 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

Plane: make optflow available to AHRS

parent 70c2aeca
No related branches found
No related tags found
No related merge requests found
...@@ -167,6 +167,9 @@ static void init_ardupilot() ...@@ -167,6 +167,9 @@ static void init_ardupilot()
ahrs.set_compass(&compass); ahrs.set_compass(&compass);
} }
} }
// make optflow available to libraries
ahrs.set_optflow(&optflow);
// Register mavlink_delay_cb, which will run anytime you have // Register mavlink_delay_cb, which will run anytime you have
// more than 5ms remaining in your call to hal.scheduler->delay // more than 5ms remaining in your call to hal.scheduler->delay
......
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