mirror of https://github.com/ArduPilot/ardupilot
Mount_Servo: use SerialManager for init
This commit is contained in:
parent
886cc9aa46
commit
56f872b38c
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue