AP_Camera: fix reporting of mount take_picture

This commit is contained in:
Randy Mackay 2023-09-20 16:55:03 +09:00 committed by Andrew Tridgell
parent f9c8ad8de8
commit 66337af882
1 changed files with 1 additions and 2 deletions

View File

@ -10,8 +10,7 @@ bool AP_Camera_Mount::trigger_pic()
{
AP_Mount* mount = AP::mount();
if (mount != nullptr) {
mount->take_picture(get_mount_instance());
return true;
return mount->take_picture(get_mount_instance());
}
return false;
}