AP_Mount: fix Backend enum for AP_Mount_Alexmos and add comments
fix Backend enum for AP_Mount_Alexmos and add comments
This commit is contained in:
parent
cdeb1fb8f3
commit
0b88f15a37
@ -422,7 +422,7 @@ void AP_Mount::init()
|
|||||||
_backends[instance] = new AP_Mount_MAVLink(*this, instance);
|
_backends[instance] = new AP_Mount_MAVLink(*this, instance);
|
||||||
_num_instances++;
|
_num_instances++;
|
||||||
|
|
||||||
// check for MAVLink mounts
|
// check for Alexmos mounts
|
||||||
} else if (mount_type == Mount_Type_Alexmos) {
|
} else if (mount_type == Mount_Type_Alexmos) {
|
||||||
_backends[instance] = new AP_Mount_Alexmos(*this, instance);
|
_backends[instance] = new AP_Mount_Alexmos(*this, instance);
|
||||||
_num_instances++;
|
_num_instances++;
|
||||||
|
@ -53,7 +53,7 @@ public:
|
|||||||
Mount_Type_None = 0, /// no mount
|
Mount_Type_None = 0, /// no mount
|
||||||
Mount_Type_Servo = 1, /// servo controlled mount
|
Mount_Type_Servo = 1, /// servo controlled mount
|
||||||
Mount_Type_MAVLink = 2, /// MAVLink controlled mount
|
Mount_Type_MAVLink = 2, /// MAVLink controlled mount
|
||||||
Mount_Type_Alexmos = 2, /// MAVLink controlled mount
|
Mount_Type_Alexmos = 3 /// MAVLink controlled mount
|
||||||
};
|
};
|
||||||
|
|
||||||
// Constructor
|
// Constructor
|
||||||
|
Loading…
Reference in New Issue
Block a user