AP_Mount: correct compilation with GCS disabled

This commit is contained in:
Peter Barker 2024-02-13 14:57:28 +11:00 committed by Peter Barker
parent 8da89492a7
commit d33cc2847d

View File

@ -387,7 +387,7 @@ MAV_RESULT AP_Mount_Backend::handle_command_do_gimbal_manager_configure(const ma
// send gimbal_manager_status if control has changed
if (prev_control_id != mavlink_control_id) {
gcs().send_message(MSG_GIMBAL_MANAGER_STATUS);
GCS_SEND_MESSAGE(MSG_GIMBAL_MANAGER_STATUS);
}
return MAV_RESULT_ACCEPTED;