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
809ac764b7
commit
ca517eb259
|
@ -18,11 +18,12 @@ void Sub::motors_output()
|
|||
verify_motor_test();
|
||||
} else {
|
||||
motors.set_interlock(true);
|
||||
SRV_Channels::cork();
|
||||
auto &srv = AP::srv();
|
||||
srv.cork();
|
||||
SRV_Channels::calc_pwm();
|
||||
SRV_Channels::output_ch_all();
|
||||
motors.output();
|
||||
AP::srv().push();
|
||||
srv.push();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue