mirror of https://github.com/ArduPilot/ardupilot
AP_Camera: fix reporting of mount take_picture
This commit is contained in:
parent
f9c8ad8de8
commit
66337af882
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue