diff --git a/libraries/AP_Mount/AP_Mount_Servo.cpp b/libraries/AP_Mount/AP_Mount_Servo.cpp index d51e59e78d..f775ae63bf 100644 --- a/libraries/AP_Mount/AP_Mount_Servo.cpp +++ b/libraries/AP_Mount/AP_Mount_Servo.cpp @@ -5,7 +5,7 @@ extern const AP_HAL::HAL& hal; // init - performs any required initialisation for this instance -void AP_Mount_Servo::init() +void AP_Mount_Servo::init(const AP_SerialManager& serial_manager) { if (_instance == 0) { _roll_idx = RC_Channel_aux::k_mount_roll; diff --git a/libraries/AP_Mount/AP_Mount_Servo.h b/libraries/AP_Mount/AP_Mount_Servo.h index e4f260a6ae..66b51f1d77 100644 --- a/libraries/AP_Mount/AP_Mount_Servo.h +++ b/libraries/AP_Mount/AP_Mount_Servo.h @@ -34,7 +34,7 @@ public: } // init - performs any required initialisation for this instance - virtual void init(); + virtual void init(const AP_SerialManager& serial_manager); // update mount position - should be called periodically virtual void update();