Skip to content
Snippets Groups Projects
Commit f5ddaab3 authored by Robert Lefebvre's avatar Robert Lefebvre Committed by Randy Mackay
Browse files

TradHeli: Set Flybar passthrough mode in Acro Initialization function.

parent 7d3e22af
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
// heli_acro_init - initialise acro controller // heli_acro_init - initialise acro controller
static bool heli_acro_init(bool ignore_checks) static bool heli_acro_init(bool ignore_checks)
{ {
// if heli is equipped with a flybar, then tell the attitude controller to pass through controls directly to servos
attitude_control.use_flybar_passthrough(motors.has_flybar());
// always successfully enter acro // always successfully enter acro
return true; return true;
} }
......
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