diff --git a/ArduPlane/ArduPlane.cpp b/ArduPlane/ArduPlane.cpp index d69e3a3842..1e10df8c42 100644 --- a/ArduPlane/ArduPlane.cpp +++ b/ArduPlane/ArduPlane.cpp @@ -346,7 +346,7 @@ void Plane::one_second_loop() // sync MAVLink system ID mavlink_system.sysid = g.sysid_this_mav; - SRV_Channels::enable_aux_servos(); + AP::srv().enable_aux_servos(); // update notify flags AP_Notify::flags.pre_arm_check = arming.pre_arm_checks(false); diff --git a/ArduPlane/radio.cpp b/ArduPlane/radio.cpp index cb2048be6d..49835adcfd 100644 --- a/ArduPlane/radio.cpp +++ b/ArduPlane/radio.cpp @@ -107,7 +107,7 @@ void Plane::init_rc_out_main() */ void Plane::init_rc_out_aux() { - SRV_Channels::enable_aux_servos(); + AP::srv().enable_aux_servos(); servos_output(); diff --git a/ArduPlane/servos.cpp b/ArduPlane/servos.cpp index 672631e373..b8db6e14b8 100644 --- a/ArduPlane/servos.cpp +++ b/ArduPlane/servos.cpp @@ -1055,7 +1055,7 @@ void Plane::servos_output(void) SRV_Channels::output_ch_all(); - SRV_Channels::push(); + AP::srv().push(); if (g2.servo_channels.auto_trim_enabled()) { servos_auto_trim();