AP_Camera: fix sending camera information and settings for each backend

This commit is contained in:
Asif Khan 2023-08-02 00:04:14 +05:30 committed by Randy Mackay
parent 3fd0886574
commit 09e949173d

View File

@ -76,7 +76,7 @@ void AP_Camera_Mount::send_camera_information(mavlink_channel_t chan) const
{
AP_Mount* mount = AP::mount();
if (mount != nullptr) {
return mount->send_camera_information(chan);
return mount->send_camera_information(0, chan);
}
}
@ -85,7 +85,7 @@ void AP_Camera_Mount::send_camera_settings(mavlink_channel_t chan) const
{
AP_Mount* mount = AP::mount();
if (mount != nullptr) {
return mount->send_camera_settings(chan);
return mount->send_camera_settings(0, chan);
}
}