mirror of https://github.com/ArduPilot/ardupilot
ArduSub: make SRV_Channels::cork non-static
for symmetry with the push function
This commit is contained in:
parent
aadc37ebeb
commit
afadb7e6c0
|
@ -18,11 +18,12 @@ void Sub::motors_output()
|
||||||
verify_motor_test();
|
verify_motor_test();
|
||||||
} else {
|
} else {
|
||||||
motors.set_interlock(true);
|
motors.set_interlock(true);
|
||||||
SRV_Channels::cork();
|
auto &srv = AP::srv();
|
||||||
|
srv.cork();
|
||||||
SRV_Channels::calc_pwm();
|
SRV_Channels::calc_pwm();
|
||||||
SRV_Channels::output_ch_all();
|
SRV_Channels::output_ch_all();
|
||||||
motors.output();
|
motors.output();
|
||||||
AP::srv().push();
|
srv.push();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue