mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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) {
|
if (camera == nullptr) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
CHECK_PAYLOAD_SIZE(CAMERA_INFORMATION);
|
CHECK_PAYLOAD_SIZE(CAMERA_SETTINGS);
|
||||||
camera->send_camera_settings(chan);
|
camera->send_camera_settings(chan);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user