mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Mount: correct gimbal manager flags
This commit is contained in:
parent
ded8d2a4b4
commit
c70778e4d4
@ -195,7 +195,7 @@ void AP_Mount_Backend::send_gimbal_manager_status(mavlink_channel_t chan)
|
||||
uint32_t flags = GIMBAL_MANAGER_FLAGS_ROLL_LOCK | GIMBAL_MANAGER_FLAGS_PITCH_LOCK;
|
||||
|
||||
if (_yaw_lock) {
|
||||
flags |= GIMBAL_MANAGER_FLAGS_PITCH_LOCK;
|
||||
flags |= GIMBAL_MANAGER_FLAGS_YAW_LOCK;
|
||||
}
|
||||
|
||||
mavlink_msg_gimbal_manager_status_send(chan,
|
||||
|
Loading…
Reference in New Issue
Block a user