mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: Fix CAMERA_SETTINGS payload size check
This commit is contained in:
parent
914c3c702d
commit
d47b60b92a
|
@ -5755,7 +5755,7 @@ bool GCS_MAVLINK::try_send_message(const enum ap_message id)
|
|||
if (camera == nullptr) {
|
||||
break;
|
||||
}
|
||||
CHECK_PAYLOAD_SIZE(CAMERA_INFORMATION);
|
||||
CHECK_PAYLOAD_SIZE(CAMERA_SETTINGS);
|
||||
camera->send_camera_settings(chan);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue