ArduSub: make SRV_Channels::cork non-static

for symmetry with the push function
This commit is contained in:
Peter Barker 2024-11-13 08:09:59 +11:00 committed by Andrew Tridgell
parent 809ac764b7
commit ca517eb259
1 changed files with 3 additions and 2 deletions

View File

@ -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();
}
}