mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-24 08:44:08 -04:00
Blimp: make SRV_Channels::cork non-static
for symmetry with the push function
This commit is contained in:
parent
ca517eb259
commit
b051d98157
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user