diff --git a/Rover/Rover.cpp b/Rover/Rover.cpp index a8fc94074d..7460a561e0 100644 --- a/Rover/Rover.cpp +++ b/Rover/Rover.cpp @@ -435,7 +435,7 @@ void Rover::one_second_loop(void) set_control_channels(); // cope with changes to aux functions - 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/Rover/system.cpp b/Rover/system.cpp index 6911b78b74..06405d5e31 100644 --- a/Rover/system.cpp +++ b/Rover/system.cpp @@ -70,7 +70,7 @@ void Rover::init_ardupilot() init_rc_in(); // sets up rc channels deadzone g2.motors.init(get_frame_type()); // init motors including setting servo out channels ranges - SRV_Channels::enable_aux_servos(); + AP::srv().enable_aux_servos(); // init wheel encoders g2.wheel_encoder.init();