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:
Matthias Badaire 2015-01-16 09:17:34 +01:00 committed by Andrew Tridgell
parent cdeb1fb8f3
commit 0b88f15a37
2 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ void AP_Mount::init()
_backends[instance] = new AP_Mount_MAVLink(*this, instance);
_num_instances++;
// check for MAVLink mounts
// check for Alexmos mounts
} else if (mount_type == Mount_Type_Alexmos) {
_backends[instance] = new AP_Mount_Alexmos(*this, instance);
_num_instances++;

View File

@ -53,7 +53,7 @@ public:
Mount_Type_None = 0, /// no mount
Mount_Type_Servo = 1, /// servo controlled mount
Mount_Type_MAVLink = 2, /// MAVLink controlled mount
Mount_Type_Alexmos = 2, /// MAVLink controlled mount
Mount_Type_Alexmos = 3 /// MAVLink controlled mount
};
// Constructor