Blimp: make SRV_Channels::cork non-static

for symmetry with the push function
This commit is contained in:
Peter Barker 2024-11-13 08:10:00 +11:00 committed by Andrew Tridgell
parent afadb7e6c0
commit cd2c5a1697
1 changed files with 4 additions and 2 deletions

View File

@ -78,8 +78,10 @@ void Blimp::motors_output()
// output any servo channels // output any servo channels
SRV_Channels::calc_pwm(); SRV_Channels::calc_pwm();
auto &srv = AP::srv();
// cork now, so that all channel outputs happen at once // cork now, so that all channel outputs happen at once
SRV_Channels::cork(); srv.cork();
// update output on any aux channels, for manual passthru // update output on any aux channels, for manual passthru
SRV_Channels::output_ch_all(); SRV_Channels::output_ch_all();
@ -88,5 +90,5 @@ void Blimp::motors_output()
motors->output(); motors->output();
// push all channels // push all channels
AP::srv().push(); srv.push();
} }