mirror of https://github.com/ArduPilot/ardupilot
AP_Mount: fixed references to state in backends
This commit is contained in:
parent
fe0c434d2b
commit
032dcc3660
|
@ -70,7 +70,7 @@ class AP_Mount_Alexmos : public AP_Mount_Backend
|
|||
{
|
||||
public:
|
||||
//constructor
|
||||
AP_Mount_Alexmos(AP_Mount &frontend, AP_Mount::mount_state state, uint8_t instance):
|
||||
AP_Mount_Alexmos(AP_Mount &frontend, AP_Mount::mount_state &state, uint8_t instance):
|
||||
AP_Mount_Backend(frontend, state, instance),
|
||||
_port(NULL),
|
||||
_initialised(false),
|
||||
|
|
|
@ -26,7 +26,7 @@ class AP_Mount_MAVLink : public AP_Mount_Backend
|
|||
|
||||
public:
|
||||
// Constructor
|
||||
AP_Mount_MAVLink(AP_Mount &frontend, AP_Mount::mount_state state, uint8_t instance);
|
||||
AP_Mount_MAVLink(AP_Mount &frontend, AP_Mount::mount_state &state, uint8_t instance);
|
||||
|
||||
// init - performs any required initialisation for this instance
|
||||
virtual void init(const AP_SerialManager& serial_manager);
|
||||
|
|
|
@ -19,7 +19,7 @@ class AP_Mount_Servo : public AP_Mount_Backend
|
|||
{
|
||||
public:
|
||||
// Constructor
|
||||
AP_Mount_Servo(AP_Mount &frontend, AP_Mount::mount_state state, uint8_t instance):
|
||||
AP_Mount_Servo(AP_Mount &frontend, AP_Mount::mount_state &state, uint8_t instance):
|
||||
AP_Mount_Backend(frontend, state, instance),
|
||||
_roll_idx(RC_Channel_aux::k_none),
|
||||
_tilt_idx(RC_Channel_aux::k_none),
|
||||
|
|
Loading…
Reference in New Issue