GCS_MAVLink: pass camera-information messages to AP_Camera
This commit is contained in:
parent
ce1e0c3782
commit
ae4d1ae0af
@ -3812,6 +3812,7 @@ void GCS_MAVLINK::handle_common_message(const mavlink_message_t &msg)
|
||||
#if AP_CAMERA_ENABLED
|
||||
case MAVLINK_MSG_ID_DIGICAM_CONTROL:
|
||||
case MAVLINK_MSG_ID_GOPRO_HEARTBEAT: // heartbeat from a GoPro in Solo gimbal
|
||||
case MAVLINK_MSG_ID_CAMERA_INFORMATION:
|
||||
{
|
||||
AP_Camera *camera = AP::camera();
|
||||
if (camera == nullptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user