Mount_Servo: use SerialManager for init

This commit is contained in:
Randy Mackay 2015-01-19 22:38:32 +09:00 committed by Andrew Tridgell
parent 886cc9aa46
commit 56f872b38c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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();