GCS_Mavlink: Add routing for GoPro heartbeat
This commit is contained in:
parent
5fe19911bf
commit
0bef5bd9dd
@ -3076,12 +3076,13 @@ void GCS_MAVLINK::handle_common_message(const mavlink_message_t &msg)
|
||||
break;
|
||||
|
||||
case MAVLINK_MSG_ID_DIGICAM_CONTROL:
|
||||
case MAVLINK_MSG_ID_GOPRO_HEARTBEAT: // heartbeat from a GoPro in Solo gimbal
|
||||
{
|
||||
AP_Camera *camera = AP::camera();
|
||||
if (camera == nullptr) {
|
||||
return;
|
||||
}
|
||||
camera->control_msg(msg);
|
||||
camera->handle_message(chan, msg);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user